Commit Graph

55 Commits

Author SHA1 Message Date
emizzle 405e21a174
chore: version bump 2020-04-08 09:58:18 +10:00
emizzle ee7171176c
chore: package.json contributors update 2020-04-08 09:56:36 +10:00
emizzle f31c6c7ed6
chore: readme update 2020-04-08 09:51:10 +10:00
emizzle 75affcdd44
chore: bump version 2020-04-07 21:20:40 +10:00
emizzle e6defc9c17 feat: Remove MythX free mode warning 2020-04-07 20:11:18 +10:00
emizzle 27e8288fbf fix: Update SWC registry URL in analysis output 2020-04-07 20:11:00 +10:00
emizzle 0d59ef9587
chore: update changelog links 2020-04-06 18:08:43 +10:00
emizzle f892dd2842
chore: Update package.json contributors 2020-04-06 17:03:23 +10:00
emizzle 964e4634b5
chore: Update package.json
package.json update for NPM
2020-04-06 16:37:23 +10:00
emizzle 71ca63b5a0
refactor: Complete rewrite of library to use mythxjs
v2.0.0 (2020-04-02)

Bug Fixes
issues: Fixed issue list not matching the list of issues in the MythX dashboard.
sources: Fixed an issue where we no longer need to send all compiled contracts (that may be mutually exclusive) to each MythX analysis.
Features
libs: Now using mythxjs instead of armlet (deprecated) to communicate with the MythX API.
refactor: Complete refactor, with many of the changes focussing on basing off sabre.

BREAKING CHANGES
The --full CLI option is now obsolete and will no have any effect. Please use --mode full instead.
Authentication to the MythX service now requires that the MYTHX_API_KEY environment variable is set, either in a .env file located in your project's root, or directly in an environment variable.
2020-04-06 16:02:07 +10:00
semuelle 1501504bae
Merge pull request #12 from emizzle/feat/add-summary-fix-sources
Add summary, submit sources correctly
2020-03-16 13:09:20 +01:00
semuelle c9d6ef51d8
Merge branch 'master' into feat/add-summary-fix-sources 2020-03-16 13:09:07 +01:00
semuelle 04f3ca517a
Merge pull request #9 from emizzle/feat/allow-uppercase-uuids
feat: allow case-insensitive UUIDs
2020-03-16 13:07:54 +01:00
semuelle 13480b7bee
Merge branch 'master' into feat/allow-uppercase-uuids 2020-03-16 13:07:39 +01:00
semuelle d79f027722
Merge pull request #8 from emizzle/fix/logger-undefined
fix: Logger is undefined when unused fields present
2020-03-16 13:05:28 +01:00
semuelle 5c2056a438
Merge pull request #7 from emizzle/fix/readme
fix: README and env variable warning update
2020-03-16 13:04:54 +01:00
emizzle 8370d4318f
feat: allow case-insensitive `verify status` command, without being logged in
The MythX portal displays UUIDs in uppercase and therfore can’t be copy/pasted to the `verify status <uuid>` command.

This PR allows for case-insensitive entry of the UUID in to the `verify status <uuid>` command.

Additionally, running `verify status <uuid>` without first running a verify command would fail due to not being logged in.

This PR logs in when the `verify status <uuid>` command is run, so this command can be run *before* `verify`.
2020-03-16 18:34:34 +11:00
emizzle 25d1fac037
Add summary, submit sources correctly
# Conflicts:
#	mythx.js
2020-03-16 18:29:57 +11:00
emizzle 60473d1ba9
fix: Logger is undefined when unused fields present 2020-03-16 18:24:36 +11:00
emizzle d8c415f101
fix: README and env variable warning update 2020-03-14 16:07:12 +11:00
semuelle 7e9d7a1eae
Merge pull request #6 from emizzle/fix/remove-trial-credentials
fix: Remove trial credentials and update MYTHX_ETH_ADDRESS to MYTHX_USERNAME
2020-03-13 14:42:55 +01:00
emizzle 6adf8c6ae7
fix: Remove trial credentials and update MYTHX_ETH_ADDRESS to MYTHX_USERNAME
Remove automatically provided trial credentials when MythX API login environment variables are not provided by the user.

Deprecate the use of `MYTHX_ETH_ADDRESS` in favour of `MYTHX_USERNAME` environment variable.
2020-03-13 16:07:21 +11:00
semuelle fea98050a0
Merge pull request #4 from flex-dapps/dependabot/npm_and_yarn/eslint-utils-1.4.2
Bump eslint-utils from 1.3.1 to 1.4.2
2020-03-07 15:49:55 +01:00
Sebastian Mueller 40458d8a01 Merge branch 'master' of https://github.com/flex-dapps/embark-mythx 2020-01-28 17:30:38 +01:00
Sebastian Mueller 7aa27e41ed Removed cache lookup option 2020-01-28 17:30:26 +01:00
semuelle 2cb543f868
Merge pull request #5 from PascalPrecht/fix/logger
Fix Embark logger usage
2020-01-23 01:23:58 +01:00
Pascal Precht 410267b0df
Fix Embark logger usage
The MythX plugin passes a single method of embark's logger to other APIs which breaks their
usage as a logger instance context is required inside each logger method.

This commit changes the plugin to pass around the entire logger instance instead of just
its log method.
2020-01-22 13:52:43 +01:00
dependabot[bot] 5c8d7895f9
Bump eslint-utils from 1.3.1 to 1.4.2
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-26 23:23:39 +00:00
semuelle 89b16de8b6
Merge pull request #3 from flex-dapps/dependabot/npm_and_yarn/lodash-4.17.14
Bump lodash from 4.17.11 to 4.17.14
2019-07-23 11:22:25 +02:00
dependabot[bot] 16d38efafe
Bump lodash from 4.17.11 to 4.17.14
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 07:02:31 +00:00
Sebastian Mueller 3309d295ff Upgrade dependencies for web3 and tunnel-agent vulnerabilities 2019-06-05 10:15:18 +02:00
Sebastian Mueller 41467738c2 Adding badges to readme 2019-05-07 11:35:36 +02:00
Sebastian Mueller 971b8be1fc npm package installation instructions 2019-04-30 11:27:16 +02:00
Sebastian Mueller 422dd78d0f 1.0.2 2019-04-30 10:47:46 +02:00
Sebastian Mueller fe8d2bae1e Keywords, repo in package.json 2019-04-30 10:38:27 +02:00
Sebastian Mueller 707b7545f9 Indentation 2019-04-29 11:46:38 +02:00
Sebastian Mueller 1171920709 Adding parameter shortcuts 2019-04-29 11:44:42 +02:00
Sebastian Mueller 08f2f8a731 Language 2019-04-29 10:31:21 +02:00
Sebastian Mueller f485cb8a40 Add header image 2019-04-29 10:28:44 +02:00
Sebastian Mueller b367037123 License 2019-04-29 10:18:53 +02:00
semuelle e01bee151d
Create LICENSE 2019-04-29 10:13:53 +02:00
Sebastian Mueller f3343fb364 Syntax highlighting 2019-04-26 18:28:51 +02:00
Sebastian Mueller cb66c27c59 Sample usage in Readme 2019-04-26 18:26:30 +02:00
Sebastian Mueller 034661e2e9 Updated readme 2019-04-26 18:09:09 +02:00
Sebastian Mueller 0358adcf0a Fixing help string; cleanup 2019-04-26 18:09:09 +02:00
Sebastian Mueller 9f7a38053a Fixed import of ASTs 2019-04-26 18:09:09 +02:00
Sebastian Mueller 7a7fa49b90 Documenting parameters 2019-04-26 18:09:09 +02:00
Sebastian Mueller ddf74ba69c Implemented command. Implemented filter. 2019-04-26 18:09:09 +02:00
Sebastian Mueller 6a88043e9c Enabled parameters: mode, debug, cache-lookup, limit and contracts! 2019-04-26 18:09:09 +02:00
Sebastian Mueller 963aed8b8e First working version 2019-04-26 18:09:09 +02:00