-
Notifications
You must be signed in to change notification settings - Fork 7
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
CBOR decryption and ABI IPFS link #124
Comments
Hi @sergmetelin, thanks for forwarding this. This is supported in our Sourcify instance, but not at the network level. Only through an explorer, e.g., HashScan, or a CLI tool, e.g., Foundry. I'm not aware of any network that allows you to provide source-level information at deploy time. That's because contract metadata on EVM-bytecode is a compiler (Solidity, Vyper) construct.
In the EVM the metadata bytes are never touched and hence never executed. Just for reference, if you upload your sources to IPFS, the whole compiler input gets uploaded, for example https://ipfs.io/ipfs/QmbRQF3HA9eZ8ZLwyUtnQfXjvZ8MTRnKWTVULhqLALUSTu. Should we support it at the network level, we would have to change at least the
Hope it helps. |
For more context on Solidity Metadata[1]
[1] https://soliditylang.org/blog/2020/06/25/sourcify-faq/ § What is bytecode metadata? |
After discussing this offline, we will investigate how Hedera verification and upstream Sourcify can support IPFS uploads. This might make more sense after we switch to upstream Sourcify images #147. |
Problem
As per community request:
"we need ABI to be publicly available, and 1-1 relationship with the contract itself as a unique source of truth"
Solution
Alternatives
No response
The text was updated successfully, but these errors were encountered: