-
Notifications
You must be signed in to change notification settings - Fork 461
Unexpected creationMatch: match
in contract with consistent CBOR auxdata in creation bytecode
#2092
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
Comments
Hey, @kuzdogan . If you guys allow external contributions, I would be happy to work on this issue. Please, let me know if i can get assigned. |
Hey thanks @deniswaker I don't think this is a good issue for an external contribution but if you are still interested in diving deep here's what you can do:
![]() |
Thank you. I will get started soon. |
@deniswaker Did you start working on this? |
I'm taking this one due to inactivity |
I found that this problem is fixed in the current Sourcify version. This means we can simply reverify these contracts, because this is an update for creation code from match to exact match. I already did with one of the examples above: I also wondered which change fixed this problem, but I am still not sure. IMO, it's not worth to look too deep for the change that fixed it. We can simply reverify these contracts. If anyone has an idea, I'd still appreciate it. Next steps:
|
I modified the See this branch: https://github.com/sourcifyeth/missing-creation-verified-data-script/tree/fix-creation-matches I'm running it on production now. |
It turns out that reverifying through the public API runs into a bug. Since the bytecodes stay the same, reverifying these contracts creates a conflict with the constraints of the We will need to run the private upgrade endpoint for the ~21k inconsistent contracts and the ~150k contracts that haven't been upgraded yet. |
Here's a contract that from what I can see has consistent CBOR auxdata values in both onchain and recompiled creation bytecodes but for some reason doesn't have
creationMatch: exact_match
.http://repo.sourcify.dev/8453/0x1775FAAFEDD0F3967361B96CD1F6BED737C18FB4
https://sourcify.dev/server/v2/contract/8453/0x1775FAAFEDD0F3967361B96CD1F6BED737C18FB4?fields=all
CborAuxdata:
a26469706673582212200616d8159ba86cbc74c62492172ca035b84fe3575ba5e6f0713dc082a2538d6264736f6c63430008090033
Other cases:
All have in common, the CBORAuxdata is not at the end of the creation bytecodes.
The text was updated successfully, but these errors were encountered: