celo-org / optimism

Optimism is Ethereum, scaled.
https://optimism.io
MIT License
3 stars 2 forks source link

Database History migration tool #121

Closed mcortesi closed 1 month ago

mcortesi commented 2 months ago

Tools that migrates the database history

For now:

Migrate ancients database into a new copy of it with following transformations:

  1. Remove IstanbulExtraData.AggregatedSeal from headers to make hashing header same as ethereum
  2. Remove Randomness and EpochSnarkData from BlockBodies

Fixes celo-org/celo-blockchain-planning#255

alecps commented 2 months ago

This is just pending a final test on the mainnet datadir which has taken longer than expected to set up due to issues with the pod restarting and running out of memory

github-actions[bot] commented 1 month ago

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.

alecps commented 1 month ago

@carterqw2 I accidentally merged this without squashing 🙄