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

fix metadata decoding in smart contract verification #2225

Merged
merged 7 commits into from
Jun 25, 2019

Conversation

ayrat555
Copy link
Contributor

fixes #2213
fixes https://blockscout.com/eth/mainnet/address/0x07cf8f81852a58dd26fa19e69545f72e263347e5/transactions in #2181

Motivation

Metadata encoded in bytecode was changed in Solidity 0.5.9
https://github.com/ethereum/solidity/blob/aa4ee3a1559ebc0354926af962efb3fcc7dc15bd/docs/metadata.rst

Changelog

  • fix metadata decoding in smart contract verification

@ayrat555 ayrat555 changed the title fix metadata decomdiing in smart contract verification fix metadata decoding in smart contract verification Jun 24, 2019
@coveralls
Copy link

coveralls commented Jun 24, 2019

Pull Request Test Coverage Report for Build d35dfe1a-7a3d-422d-ab37-cda6f0159661

  • 2 of 2 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 81.062%

Totals Coverage Status
Change from base Build 840b85dd-a647-4381-84eb-28886f21e67b: 0.04%
Covered Lines: 5038
Relevant Lines: 6215

💛 - Coveralls

CHANGELOG.md Outdated
@@ -42,7 +42,8 @@
- [#2173](https://github.com/poanetwork/blockscout/pull/2173) - handle correctly empty transactions
- [#2174](https://github.com/poanetwork/blockscout/pull/2174) - fix reward channel joining
- [#2186](https://github.com/poanetwork/blockscout/pull/2186) - fix net version test
- [#2167](https://github.com/poanetwork/blockscout/pull/2168) - feat: document eth rpc api mimicking endpoints
- [#2167](https://github.com/poanetwork/blockscout/pull/2168) - feat: document eth rpc api mimicking endpoints
Copy link
Contributor

Choose a reason for hiding this comment

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

I just noticed that the link does not correspond to the correct PR number here (#2167)

@ayrat555 ayrat555 requested a review from Heimdell June 24, 2019 13:53
vbaranov added a commit that referenced this pull request Jun 24, 2019
@vbaranov vbaranov merged commit b99c978 into master Jun 25, 2019
@vbaranov vbaranov deleted the ab-fix-metadata-decoding-for-smart-contracts branch June 25, 2019 13:01
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.

Contract verification error : Bytecode does not match, please try again.
5 participants