Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove encoding and decoding support for storage references #819

Merged

Conversation

turbolent
Copy link
Member

@turbolent turbolent commented Apr 21, 2021

Closes #729

Description

Just noticed that we still had encoding and decoding functionality for storage references.

Storage references used to be storable, but have not been in a long time.

Remove all code related to encoding and decoding storage references, but keep the decoding functionality in the old decoder (v3).

I verified that after the removal, the whole Mainnet state still decodes properly.


For contributor use:

  • Targeted PR against master branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

Copy link
Member

@fxamacker fxamacker left a comment

Choose a reason for hiding this comment

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

Looks great! Nice catch!

Copy link
Member

@SupunS SupunS left a comment

Choose a reason for hiding this comment

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

Nice clean-up!

@turbolent turbolent merged commit c986732 into master Apr 21, 2021
@turbolent turbolent deleted the bastian/remove-storage-reference-encoding-decooding branch April 21, 2021 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove encoding and decoding code for storage references
3 participants