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
in 0.13.1 we changed the definition of compiled_class_hash, specifically for Sierra 1.5.0 classes (i.e. code compiled with the new 2.6.0 compiler)
This means that current declaration code in SDKs won’t be able to declare classes compiled with 2.6.0
The relevant change is the addition of the bytecode_segments_length to the CASM class, which affects how the bytecode hash is computed (instead of one large chain-hash, it is a chain hash of function hashes, where functions code is determined by the locations in the new field). You can see the pythonic reference implementation here.
The text was updated successfully, but these errors were encountered:
rianhughes
changed the title
0.13.1 comiled class hash
0.13.1 compiled class hash
Mar 7, 2024
in 0.13.1 we changed the definition of compiled_class_hash, specifically for Sierra 1.5.0 classes (i.e. code compiled with the new 2.6.0 compiler)
This means that current declaration code in SDKs won’t be able to declare classes compiled with 2.6.0
The relevant change is the addition of the
bytecode_segments_length
to the CASM class, which affects how the bytecode hash is computed (instead of one large chain-hash, it is a chain hash of function hashes, where functions code is determined by the locations in the new field). You can see the pythonic reference implementation here.The text was updated successfully, but these errors were encountered: