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

fix(iota-light-client): regenerate checkpoints after v1 types changes #3751

Conversation

Dkwcs
Copy link
Contributor

@Dkwcs Dkwcs commented Oct 29, 2024

Description of change

Due to some V1 types rename changes the checkpoint files became invalid.
This PR has been regenerating checkpoint files.
Also there is an ability to regenerate checkpoints in easy and explicit way - you have to:

  1. cargo run --release --bin iota start --force-regenesis --with-faucet
  2. Clear checkpoints.yaml file - make checkpoints: []
  3. Run cargo run --bin generate_chk_snapshots
  4. Replace data in tests according to generated checkpoints.

See (test/README.md)

Links to any relevant issues

Fix #3665 .

Type of change

  • Bug fix (a non-breaking change which fixes an issue)
  • Enhancement (a non-breaking change which adds functionality)

How the change has been tested

cargo test

@Dkwcs Dkwcs requested review from a team as code owners October 29, 2024 12:12
…rate-checkpoints-after-TransactionEffectsV1-changes
@Dkwcs Dkwcs self-assigned this Oct 29, 2024
@Dkwcs Dkwcs added the vm-language Issues related to the VM & Language Team label Oct 29, 2024
@miker83z miker83z merged commit 6748496 into develop Oct 29, 2024
34 of 38 checks passed
@miker83z miker83z deleted the sc-platform/Regenerate-checkpoints-after-TransactionEffectsV1-changes branch October 29, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vm-language Issues related to the VM & Language Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iota-light-client] Regenerate checkpoints after TransactionEffectsV1 changes
4 participants