celo-org / optimism

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

Migrate alfajores contracts to mainnet addresses #154

Closed palango closed 3 months ago

palango commented 3 months ago

Resolves https://github.com/celo-org/optimism/issues/141

The current implementation of celo-geth assumes that core contract addresses are fixed. This assumption creates issues because the contract addresses on Alfajores differ from those on the mainnet.

This PR introduces the capability to migrate contracts using the state migration tool. Additionally, it provides initial configuration settings for Alfajores.

palango commented 3 months ago

Needs to wait for #148

palango commented 3 months ago

After some more discussion with primitives we don't want to move the celo token, as that would break nearly every integration. With that decision, it doesn't make much sense to move the other contract and we'll handle alfajores addresses in the client instead.