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
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Currently when reading from storage, if the entry in storage is too small, zeroes are appended. This works fine for single LE ints, but less well in pretty much any other situation and could easily lead to security issues.
Zero-padding should only be applied when reading specific types, essentially just Balance. In other instances, the runtime should simply be allowed to fail.
In any case, all zero-padding this should be removed entirely once we decommission the PoC-1/2 testnet.