celo-org / optimism

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

Port migration tool to rebased branch #138

Closed palango closed 1 month ago

palango commented 1 month ago

Ports https://github.com/celo-org/optimism/pull/110 on celo5 branch, which reworked the whole (l2) genesis creation logic.

The allocations containing the OP contracts are now generated using the L2Genesis.s.sol foundry script, stored and passed into the migration tool via the --l2-allocs flag. This also helps to shorten migration time and splits generation/application nicely. Also adds an option to not deploy celo contracts during l2 genesis creation, which will be used when creating the allocs for the migration.

Resolves https://github.com/celo-org/optimism/issues/134 Resolves #142 Resolves #143