Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Check enums in storage layout validation #113

Open
spalladino opened this issue Sep 21, 2018 · 0 comments
Open

Check enums in storage layout validation #113

spalladino opened this issue Sep 21, 2018 · 0 comments
Labels
kind:enhancement Enhancement to an existing feature topic:storage-checks Storage compatibility validations

Comments

@spalladino
Copy link
Contributor

Enums are backed by fields of different sizes depending on their number of members. For instance, if a struct has more members as part of an upgrade, it could be stored in a larger uint field, potentially breaking the storage layout.

We need to validate structs members as a proxy to validating their backing fields.

Follows from #92

@spalladino spalladino added kind:enhancement Enhancement to an existing feature topic:storage-checks Storage compatibility validations labels Sep 21, 2018
@spalladino spalladino mentioned this issue Sep 21, 2018
4 tasks
@facuspagnuolo facuspagnuolo added this to the Backlog milestone Sep 24, 2018
@spalladino spalladino removed this from the Backlog milestone Dec 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind:enhancement Enhancement to an existing feature topic:storage-checks Storage compatibility validations
Projects
None yet
Development

No branches or pull requests

2 participants