forked from ethereum-optimism/superchain-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Config: Add contract impl addresses & versions to config toml (ethere…
…um-optimism#525) * Config: Add standard contract impl addresses & versions to superchain config toml * store and expose the contract implementation addresses & versions for each contracts release. this is intended to be used by internal/external components such as validation code within superchain-registry, op-stack-manager, monorepo upgrade tool etc. The intent is to persist a single source of truth for the implementation addresses. * the addresses are stored in `superchain.toml` as a map of the contracts release tag as a string to the implementation contract addresses * Initial addresses/versions are recorded for v1.3.0/MCP L1 contracts release * add contract addresses & versions for sepolia (testnet) * Move contract implementation addresses under validation dir * contract implemetnation addresses now live with contract versions in validation * Instead of two separate files/sections, they are now specified as a `VersionedContract` which is a pre-existing construct in SCR. * Run just codegen * Address review comments moved `op_contracts_release` from superchain.toml to `validation/standard/standard-config.toml` * Fix naming and update addresses * Print a more useful diff for contract version check (ethereum-optimism#582) * update standard release * make a more useful diff * update go mod --------- Co-authored-by: Vinod Damle <[email protected]> * Use optional fields to track either `implementation_address` or `address` in standard contract versions (ethereum-optimism#587) * VersionedContract has optional implementation_address and address fields * use pointers --------- Co-authored-by: Vinod Damle <[email protected]> Co-authored-by: George Knee <[email protected]>
- Loading branch information
1 parent
af8d409
commit a90e302
Showing
7 changed files
with
173 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,42 @@ | ||
["op-contracts/v1.4.0"] # Fault Proofs https://github.com/ethereum-optimism/optimism/releases/tag/op-contracts%2Fv1.4.0 | ||
address_manager = "" | ||
l1_cross_domain_messenger = "2.3.0" | ||
l1_erc721_bridge = "2.1.0" | ||
l1_standard_bridge = "2.1.0" | ||
optimism_mintable_erc20_factory = "1.9.0" | ||
optimism_portal = "3.10.0" | ||
system_config = "2.2.0" | ||
protocol_versions = "1.0.0" | ||
anchor_state_registry = "1.0.0" | ||
delayed_weth = "1.0.0" | ||
dispute_game_factory = "1.0.0" | ||
fault_dispute_game = "1.2.0" | ||
permissioned_dispute_game = "1.2.0" | ||
standard_release = "op-contracts/v1.6.0" | ||
|
||
[releases] | ||
|
||
# Contracts which are | ||
# * unproxied singletons: specify a standard "address" | ||
# * proxied : specify a standard "implementation_address" | ||
# * neither : specify neither a standard "address" nor "implementation_address" | ||
|
||
# Fault Proofs https://github.com/ethereum-optimism/optimism/releases/tag/op-contracts%2Fv1.6.0 | ||
[releases."op-contracts/v1.6.0"] | ||
optimism_portal = { version = "3.10.0", implementation_address = "0xe2F826324b2faf99E513D16D266c3F80aE87832B" } | ||
system_config = { version = "2.2.0", implementation_address = "0xF56D96B2535B932656d3c04Ebf51baBff241D886" } | ||
anchor_state_registry = { version = "2.0.0" } | ||
delayed_weth = { version = "1.1.0", implementation_address = "0x71e966Ae981d1ce531a7b6d23DC0f27B38409087" } | ||
dispute_game_factory = { version = "1.0.0", implementation_address = "0xc641A33cab81C559F2bd4b21EA34C290E2440C2B" } | ||
fault_dispute_game = { version = "1.3.0" } | ||
permissioned_dispute_game = { version = "1.3.0" } | ||
mips = { version = "1.1.0", address = "0x16e83cE5Ce29BF90AD9Da06D2fE6a15d5f344ce4" } | ||
preimage_oracle = { version = "1.1.2", address = "0x9c065e11870B891D214Bc2Da7EF1f9DDFA1BE277" } | ||
|
||
# Fault Proofs https://github.com/ethereum-optimism/optimism/releases/tag/op-contracts%2Fv1.4.0 | ||
[releases."op-contracts/v1.4.0"] | ||
optimism_portal = { version = "3.10.0", implementation_address = "0xe2F826324b2faf99E513D16D266c3F80aE87832B" } | ||
system_config = { version = "2.2.0", implementation_address = "0xF56D96B2535B932656d3c04Ebf51baBff241D886" } | ||
anchor_state_registry = { version = "1.0.0" } | ||
delayed_weth = { version = "1.0.0", implementation_address = "0x97988d5624F1ba266E1da305117BCf20713bee08" } | ||
dispute_game_factory = { version = "1.0.0", implementation_address = "0xc641A33cab81C559F2bd4b21EA34C290E2440C2B" } | ||
fault_dispute_game = { version = "1.2.0" } | ||
permissioned_dispute_game = { version = "1.2.0" } | ||
mips = { version = "1.0.1", address = "0x0f8EdFbDdD3c0256A80AD8C0F2560B1807873C9c" } | ||
preimage_oracle = { version = "1.0.0", address = "0xD326E10B8186e90F4E2adc5c13a2d0C137ee8b34" } | ||
|
||
# MCP https://github.com/ethereum-optimism/optimism/releases/tag/op-contracts%2Fv1.3.0 | ||
[releases."op-contracts/v1.3.0"] | ||
l1_cross_domain_messenger = { version = "2.3.0", implementation_address = "0xD3494713A5cfaD3F5359379DfA074E2Ac8C6Fd65" } | ||
l1_erc721_bridge = { version = "2.1.0", implementation_address = "0xAE2AF01232a6c4a4d3012C5eC5b1b35059caF10d" } | ||
l1_standard_bridge = { version = "2.1.0", implementation_address = "0x64B5a5Ed26DCb17370Ff4d33a8D503f0fbD06CfF" } | ||
l2_output_oracle = { version = "1.8.0", implementation_address = "0xF243BEd163251380e78068d317ae10f26042B292" } | ||
optimism_mintable_erc20_factory = { version = "1.9.0", implementation_address = "0xE01efbeb1089D1d1dB9c6c8b135C934C0734c846" } | ||
optimism_portal = { version = "2.5.0", implementation_address = "0x2D778797049FE9259d947D1ED8e5442226dFB589" } | ||
system_config = { version = "1.12.0", implementation_address = "0xba2492e52F45651B60B8B38d4Ea5E2390C64Ffb1" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.