StorageId
enums may never be shuffled
#196
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
sponsor disputed
Sponsor cannot duplicate the issue, or otherwise disagrees this is an issue
Handle
cmichel
Vulnerability details
The
StorageId
is not only append-only as the comment says, its values may also never be shuffled.Impact
Wrong slots are read and written in an update that shuffles the values.
Recommended Mitigation Steps
Never shuffle the values.
The text was updated successfully, but these errors were encountered: