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
Ran into an issue in #5819 when purging unconstrained function when dealing with returning a struct whose serialization and deserialization is packing to fewer fields.
Unfortunately I don't think this is going to be possible to address. We have to respect the "canonical" ACVM (de)serialization so that it can be replicated in TS land, and we will probably move to automatically implementing it rather than letting users do it.
Optimizations, if any, will have to be done at that level or will be incompatible.
Ran into an issue in #5819 when purging unconstrained function when dealing with returning a struct whose serialization and deserialization is packing to fewer fields.
The offender was the
Asset
structAs it was serializing to 4 elements. But the return_types is expecting 6 elements since
U128
is actually 2 fields, alo
andhi
.For my specific case, I simply remove the optimization from the amount of storage 😭, now using 6 Fields.
The text was updated successfully, but these errors were encountered: