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

Ledger hash verification of incremental AN migration on mainnet #15586

Open
deepthiskumar opened this issue Apr 29, 2024 · 1 comment
Open

Ledger hash verification of incremental AN migration on mainnet #15586

deepthiskumar opened this issue Apr 29, 2024 · 1 comment
Assignees

Comments

@deepthiskumar
Copy link
Member

deepthiskumar commented Apr 29, 2024

Automate to test twice a week or so

@ghost-not-in-the-shell
Copy link
Member

I verified that my migration and dariusz migration all passes the berkeley-migration-verifier final checks. Currently working on a cronjob that verifies our mainnet incremental migration dumps on daily basis. Here's the basic steps:

  1. We need a cronjob on mainnet to dump the fork config on seed-5 daily and then we need to generate the new genesis config using either the hard fork pipeline or just using the generate-genesis-config.sh to print it out using a mina-daemon docker image
  2. Once we have the new genesis config, we could take the most recent mainnet dump and some increment migration dump and do the final migration on it. We need to make sure that the mainnet dump we choose have the fork block in it and we need to mark the blocks after the fork block to be "pending", another thing is that the incremental migration dump should not include the fork block.

So for the input, the cron job would take a fork-genesis-config.json, a mainnet archive dump and an incremental migration dump, and it would just run the berkeley-migration-script final on those 3 input and report the result somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants