You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please first read about full vs partial matches for contract verification here. Currently contract verifier support only full matches. This request is for supporting partial matches. Verification logic should be updated so that if a full match wasn't found but there is a partial one then the request is persisted and API exposes its data. Also, if a contract is partially verified it should be possible to replace its verification info if some full match request comes in, but not vice versa.
🤔 Rationale
Partial match is useful when the original source code was lost after deployment but developer managed to replicate it apart from metadata. Also, etherscan performs only partial match so devs get used to it. There are cases when only partial match verification is possible without adding a new feature to contract verifier, e.g. when contract's libraries are linked dynamically.
📋 Additional Context
After it's done on backend side it would be nice to display verification type on frontend
The text was updated successfully, but these errors were encountered:
…3527)
Fixes#3190Fixes#3309
I still have to test the migration logic (want to make sure that Era
mainnet data can be migrated correctly & quickly), but the PR is
reviewable otherwise.
This one is much bigger than I indended it to be, sorry 🥲
- Changes `zksolc` used in contract verifier tests to 1.5.10 (old one
didn't have `ipfs` metadata hash support).
- Fixes problems that occured with newer compilers (e.g. `Yul` bytecode
extraction).
- Makes it easier to run contract verifier tests locally (pins compiler
versions, so that if you have a lot of compilers locally, tests don't
crash).
- Introduces partial matching for contracts
- Reworks the schema so that contracts with matching bytecode can be
"automatically" verified.
- Adds a migration to the new table.
🌟 Feature Request
📝 Description
Please first read about full vs partial matches for contract verification here. Currently contract verifier support only full matches. This request is for supporting partial matches. Verification logic should be updated so that if a full match wasn't found but there is a partial one then the request is persisted and API exposes its data. Also, if a contract is partially verified it should be possible to replace its verification info if some full match request comes in, but not vice versa.
🤔 Rationale
Partial match is useful when the original source code was lost after deployment but developer managed to replicate it apart from metadata. Also, etherscan performs only partial match so devs get used to it. There are cases when only partial match verification is possible without adding a new feature to contract verifier, e.g. when contract's libraries are linked dynamically.
📋 Additional Context
After it's done on backend side it would be nice to display verification type on frontend
The text was updated successfully, but these errors were encountered: