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

chore(scripts): add trie version as parameter for retrieve-state script #4276

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

EclesioMeloJunior
Copy link
Member

Changes

  • Add version to the CLI as an option to check retrieved trie correctly
  • Currently, the version V1 is hardcoded, make it a CLI parameter makes easier when need to retrieve state tries built using V0, since this is a utility script we should make it possible for both versions.
BEFORE
go run retrieve_state.go [block hash] [expected state root hash] [network chain spec] [output file]
AFTER
go run retrieve_state.go [block hash] [expected state root hash] [network chain spec] [v0|v1] [output file]

Tests

N/A

Issues

N/A

@EclesioMeloJunior EclesioMeloJunior merged commit 2577544 into development Oct 24, 2024
24 checks passed
@EclesioMeloJunior EclesioMeloJunior deleted the eclesio/retrieve-state-support-v0 branch October 24, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants