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
#513 introduced the #[freeze_struct] attribute which allows you to "lock" a storage struct such that any changes to it result in a new hash code that is enforced at compile time.
A few additional features would enhance this:
ignore changes to generic name in hash code calculation (verify that this is actually harmless)
ignore changes to field names in hash code calculation (verify that this is actually harmless)
an automatic lint requiring this on storage structs
The text was updated successfully, but these errors were encountered:
#513 introduced the
#[freeze_struct]
attribute which allows you to "lock" a storage struct such that any changes to it result in a new hash code that is enforced at compile time.A few additional features would enhance this:
The text was updated successfully, but these errors were encountered: