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

Ensure Mainnet state is migratable #780

Closed
5 tasks
turbolent opened this issue Apr 7, 2021 · 0 comments · Fixed by #798
Closed
5 tasks

Ensure Mainnet state is migratable #780

turbolent opened this issue Apr 7, 2021 · 0 comments · Fixed by #798
Assignees
Labels

Comments

@turbolent
Copy link
Member

turbolent commented Apr 7, 2021

Issue To Be Solved

While optimizing the storage format #738, make sure we keep being able to migrate all of the Mainnet state once we are done with the format changes.

Suggested Solution

Add functionality to the state decoding tool to use the old decoder (v3), then encode and decode using the new encoder and new decoder (v4), and finally compare the final value to the initially decoded value.

This requires storable values to be comparable.

Definition of Done

  • Extend state decoding tool with
    • Support for decoding using pre-v4 format
    • Support for re-encoding and decoding initially decoded data
    • Comparsion of initially decoded value and values that was re-encoded and decoded
  • Implement equality for storable values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant