Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add default evm version to smart contract verification #2360

Merged
merged 3 commits into from
Jul 17, 2019

Conversation

ayrat555
Copy link
Contributor

Currently, a user manually has to select the evm version when verifying smart contract even if he didn't change compilation settings.

This PR adds default evm version which uses the evm version that defaults to the specified Solidity version.

Changelog

  • add default evm version to smart contract verification

@ayrat555 ayrat555 requested review from zachdaniel, pasqu4le, vbaranov and saneery and removed request for zachdaniel July 15, 2019 12:57
@coveralls
Copy link

coveralls commented Jul 15, 2019

Pull Request Test Coverage Report for Build 80a4a08f-74a1-44cf-b5cf-b243dfd531f2

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 80.93%

Files with Coverage Reduction New Missed Lines %
apps/explorer/lib/explorer/market/market_history_cache.ex 1 83.33%
Totals Coverage Status
Change from base Build 182ab033-a760-4048-b270-d8fc91072ab2: -0.02%
Covered Lines: 5203
Relevant Lines: 6429

💛 - Coveralls

vbaranov added a commit that referenced this pull request Jul 15, 2019
}

if (evmVersion !== 'default') {
settings = Object.assign(settings, {evmVersion: evmVersion})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the evmVersion left non-existing when default is chosen?
Should't it be set instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if there is no evmVersion. default is used

@vbaranov vbaranov merged commit f0a43e1 into master Jul 17, 2019
@vbaranov vbaranov deleted the ab-default-evm-version branch July 17, 2019 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants