celo-org / optimism

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

Check setup of hardforks (e.g. Ecotone requires a contract deployment) #197

Closed lvpeschke closed 1 month ago

lvpeschke commented 2 months ago
### Tasks
- [ ] Check that required contracts get deployed and initialized
- [ ] Check that required upgrade transactions are executed
palango commented 2 months ago

Might get more difficult after https://github.com/celo-org/celo-blockchain-planning/issues/350

palango commented 2 months ago

Some code in question: https://github.com/celo-org/optimism/blob/cb53122a2bf2a04f7d17bdeefe881b0faaada8e5/op-node/rollup/derive/attributes.go#L103-L140

palango commented 1 month ago

With the approach in https://github.com/celo-org/optimism/pull/212 there won't be any upgrade transactions run. Everything required is done during the creation of the allocation file.

Remaining questions about contract deployments are tracked in https://github.com/celo-org/celo-blockchain-planning/issues/551#issuecomment-2306790761