mina icon indicating copy to clipboard operation
mina copied to clipboard

Ledger hash verification of incremental AN migration on mainnet

Open deepthiskumar opened this issue 9 months ago • 1 comments

Automate to test twice a week or so

deepthiskumar avatar Apr 29 '24 22:04 deepthiskumar

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.

ghost-not-in-the-shell avatar May 02 '24 12:05 ghost-not-in-the-shell