Contract metadata from the compiler #4022
Unanswered
numpde
asked this question in
Troubleshooting
Replies: 1 comment 1 reply
-
I can't answer the first question because that's handled by the solidity compiler and I ignore the details. But in the section of the docs you linked there is a bit more information, including a link to the Metadata Playground that maybe you can use to understand better how it's computed. Alternatively, you can ask in the solidity forum.
If you are using 0.8.18 or later, you can set the module.exports = {
solidity: {
version: "0.8.18",
settings: {
metadata: {
appendCBOR: false
}
}
},
}; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I saw in the bytecode deployed via deployProxy that an IPFS hash of the metadata is appended, presumably according to this spec. Where can I find the exact "canonical metadata" that was used for it (so I could upload it to IPFS)?
And how could I avoid appending it?
Beta Was this translation helpful? Give feedback.
All reactions