Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

ZeroEx: Add Unused to StorageId enum #2561

Merged

Conversation

dorothy-zbornak
Copy link
Contributor

Description

Adds Unused as the first enum value in the StorageId enum.
This means real buckets start at 1e18, which gives us a safety buffer in case we accidentally deploy a feature that uses non-bucketed state variables.

Testing instructions

Types of changes

Checklist:

  • Prefix PR title with [WIP] if necessary.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • Add new entries to the relevant CHANGELOG.jsons.

@coveralls
Copy link

coveralls commented Apr 22, 2020

Coverage Status

Coverage increased (+0.03%) to 79.588% when pulling f7f0152 on feat/contracts-zero-ex/unused-storage-id into 7396bb5 on development.

@dorothy-zbornak dorothy-zbornak force-pushed the feat/contracts-zero-ex/unused-storage-id branch from ea59fad to f7f0152 Compare April 22, 2020 20:07
Copy link
Contributor

@hysz hysz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@dorothy-zbornak dorothy-zbornak merged commit be2db50 into development Apr 23, 2020
@dorothy-zbornak dorothy-zbornak deleted the feat/contracts-zero-ex/unused-storage-id branch April 23, 2020 04:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants