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
Expected behavior: circuit ignores this bytecode part or supports constraints for it Actual behavior: circuit tries to treat this metadata as the code part and satisfiability check breaks.
Workaround: pass to circuit contracts compiled with --no-cbor-metadata option
The text was updated successfully, but these errors were encountered:
Final bytecode circuit design depends on non-implemented and non-designed transaction circuit and MPT trie design. Bytecode hash is a part of account's state -- i.e. is a part of account MPT trie, and it is also used in transaction hash.
But what exactly bytecode hash is used (with metadata or not, what hash function is used) and how exactly bytecode hash used depends on cluster architecture. IFinal circuit design also depends on it. When we will have its description, we'll finalize bytecode circuit according to it.
By default solidity compiler adds to the binary representation of the bytecode CBOR-encoded metadata: https://docs.soliditylang.org/en/latest/metadata.html
Expected behavior: circuit ignores this bytecode part or supports constraints for it
Actual behavior: circuit tries to treat this metadata as the code part and satisfiability check breaks.
Workaround: pass to circuit contracts compiled with
--no-cbor-metadata
optionThe text was updated successfully, but these errors were encountered: