-
Notifications
You must be signed in to change notification settings - Fork 128
U18 on Betanet v3 #1338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
U18 on Betanet v3 #1338
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
67489f3
U18 on Betanet v3
Wazabie d4a343a
Update README.md
Wazabie 3d8bd33
Update addresses
Wazabie fdf1c83
Update config and addresses
Wazabie 9e4ef20
Update message hash and calldata
Wazabie 542be44
update nonce message hash and calldata
ZakAyesh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| TENDERLY_GAS=15000000 |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # 053-U18-op-betanets-v3 | ||
|
|
||
| Status: [READY TO SIGN] | ||
|
|
||
| ## Objective | ||
|
|
||
| Updates OP Labs Betanets (both Permissioned and Permissionless networks) to U18. | ||
|
|
||
| ## Simulation & Signing | ||
|
|
||
| ```bash | ||
| cd src/tasks/sep/053-U18-op-betanets-v3 | ||
|
|
||
| # Testing | ||
| just simulate-stack sep 053-U18-op-betanets-v3 | ||
|
|
||
| # Commands to execute | ||
| just --dotenv-path $(pwd)/.env simulate | ||
| USE_KEYSTORE=1 just --dotenv-path $(pwd)/.env sign | ||
| # or USE_KEYSTORE=1 just sign-stack sep 053-U18-op-betanets-v3 | ||
| SIGNATURES=0x just execute | ||
| ``` | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| ## Expected Domain and Message Hashes | ||
|
|
||
| First, we need to validate the domain and message hashes. These values should match both the values on your ledger and | ||
| the values printed to the terminal when you run the task. | ||
|
|
||
| > [!CAUTION] | ||
| > | ||
| > Before signing, ensure the below hashes match what is on your ledger. | ||
| > | ||
| > ### Betanet 1/1 Safe (`0xe934Dc97E347C6aCef74364B50125bb8689c40ff`) | ||
| > | ||
| > - Domain Hash: `0x07e03428d7125835eca12b6dd1a02903029b456da3a091ecd66fda859fbce61e` | ||
| > - Message Hash: `0xa387fc6398e9e324371832967e768ddb41daa5ebd643e64f6f563e3307832969` | ||
| ## Task Calldata | ||
|
|
||
| ``` | ||
| 0x82ad56cb000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000f0a2e224519e876979ea6b2cd15ef5cc3d6703bd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000104cbeda5a700000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000169eecad30ea2c0d89189c4ed94cd3a66876b0e00364251d4ea4b677ac462a25642b6de1fa53b2d6b97e56380691906bdb2e95cf03091ea717990785736623f894e6fb344fcf262361657bb28c9ece29207d9a9c0000000000000000000000007c8d1043fc9081cad426dbd470e2863fbe978eef0364251d4ea4b677ac462a25642b6de1fa53b2d6b97e56380691906bdb2e95cf03091ea717990785736623f894e6fb344fcf262361657bb28c9ece29207d9a9c00000000000000000000000000000000000000000000000000000000 | ||
| ``` |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| { | ||
| "420110021": { | ||
| "ProxyAdmin": "0x62ff56134b2a107d03690fB4C8dbB3Ef840e92Dd", | ||
|
Wazabie marked this conversation as resolved.
|
||
| "ProxyAdminOwner": "0xe934Dc97E347C6aCef74364B50125bb8689c40ff", | ||
| "SystemConfigProxy": "0x169eEcad30Ea2c0d89189C4eD94cd3a66876B0e0", | ||
| "L1CrossDomainMessengerProxy": "0x07F903a9cc234508a6A3F1e82f87f7c8f0BeeaE2", | ||
| "L1StandardBridgeProxy": "0xbf0236F5FaEe167907195b655Ae88cfcB139d858", | ||
| "OptimismPortalProxy": "0xAb18279b47f260411469648cA4112a6A904e4e45", | ||
| "DisputeGameFactoryProxy": "0x0e913C365e52A83c1254BBe12C06f01319955789", | ||
| "DelayedWETHProxy": "0xC0F16e0bf7942953ba7D2Ad73250D562437ee87a", | ||
| "PermissionedDelayedWETHProxy": "0xC0F16e0bf7942953ba7D2Ad73250D562437ee87a", | ||
| "AnchorStateRegistryProxy": "0x45Ae6C7098E41B010AD84dF9570F0b1B09D1e6fd", | ||
| "AddressManager": "0xb531b77b7CB9A69F9678035474D81A7fe0da7D1d", | ||
| "L1ERC721BridgeProxy": "0x2fa2750e1Db8AcF451584E45Aa8C5D699122A8db", | ||
| "Proposer": "0x87af2830e8A39a76261f7ed515EE4a3451105561", | ||
| "Challenger": "0x839057B2F150b4720d47771B9D9e51D79f3E4B38", | ||
| "OptimismMintableERC20FactoryProxy": "0x77A33129DB4D5c78C42F74A1c38ff3596f853b33" | ||
| }, | ||
| "420110022": { | ||
| "ProxyAdmin": "0x7E331dE75Db32352c45132b49A159488C8216902", | ||
| "ProxyAdminOwner": "0xe934Dc97E347C6aCef74364B50125bb8689c40ff", | ||
| "SystemConfigProxy": "0x7C8d1043FC9081CaD426DBD470E2863FbE978eef", | ||
| "L1CrossDomainMessengerProxy": "0xBE1A9F1fCE3B0d310F7444f9C973F3241CF5EAc3", | ||
| "L1StandardBridgeProxy": "0x26F9690897A56e2C459C0E0A48f525cD6dFaaD70", | ||
| "OptimismPortalProxy": "0x527aE436461691526302c5F391dA494F6d14C9dc", | ||
| "DisputeGameFactoryProxy": "0x0C668124823EE7a6ab9988C76a61fF01f480b908", | ||
| "DelayedWETHProxy": "0x29353c19876C3c3549b0811A562928Da2381cdDB", | ||
| "PermissionedDelayedWETHProxy": "0x29353c19876C3c3549b0811A562928Da2381cdDB", | ||
| "AnchorStateRegistryProxy": "0x1057Cd919CeAF39632A697A0938C2Db85aa08B10", | ||
| "AddressManager": "0x8eAbc58D43de19a57647861a0522C5E51982110a", | ||
| "L1ERC721BridgeProxy": "0xBbf34FC49ac3256f2D34AED57B2C33637a3e3Ba1", | ||
| "Proposer": "0x39Ff903Ca8a3d759dE9A7502D9C3B5Ef8A8e6670", | ||
| "Challenger": "0xd9f48B7D3e1Ff4A1d4877834aaCAC9d1d6230d8E", | ||
| "OptimismMintableERC20FactoryProxy": "0xc7cD679BD64e9396767Fc2903A429F6689fa4447" | ||
| } | ||
| } | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # Betanet v3 on u18 | ||
| l2chains = [ | ||
| {name = "u18-beta-0", chainId = 420110021}, | ||
| {name = "u18-beta-1", chainId = 420110022} | ||
| ] | ||
|
|
||
| # Addresses for this task can be found here: https://github.com/ethereum-optimism/devnets/tree/main/betanets/u18-beta | ||
|
Wazabie marked this conversation as resolved.
|
||
|
|
||
| fallbackAddressesJsonPath = "src/tasks/sep/053-U18-op-betanets-v3/addresses.json" | ||
|
|
||
| templateName = "OPCMUpgradeV600" | ||
|
|
||
|
|
||
| [[opcmUpgrades]] | ||
| chainId = 420110021 | ||
| # U18 prestates for betanet: https://www.notion.so/oplabs/Betanet-2a9f153ee16280859261e3000d866ee9?source=copy_link#2c5f153ee162805abcc3e949ab6c837e | ||
| cannonPrestate = "0x0364251d4ea4b677ac462a25642b6de1fa53b2d6b97e56380691906bdb2e95cf" | ||
| cannonKonaPrestate = "0x03091ea717990785736623f894e6fb344fcf262361657bb28c9ece29207d9a9c" | ||
| expectedValidationErrors = "OVERRIDES-L1PAOMULTISIG,OVERRIDES-CHALLENGER,SYSCON-130,PLDG-10,CKDG-10" | ||
| # OVERRIDES-L1PAOMULTISIG,OVERRIDES-CHALLENGER: these are expected as they are not the standard OP Sepolia ones | ||
| # SYSCON-130: this is expected as the SystemConfig proxyAdmin on betanets is not the standard OP Sepolia one | ||
| # PLDG-10: this is expected because u18-beta-0 is a Permissioned chain | ||
| # CKDG-10: Custom dispute game implementation not found, expected as it's a Permissioned chain with no Permissionless implementation | ||
|
|
||
| [[opcmUpgrades]] | ||
| chainId = 420110022 | ||
| # U18 prestates for betanet: https://www.notion.so/oplabs/Betanet-2a9f153ee16280859261e3000d866ee9?source=copy_link#2c5f153ee162805abcc3e949ab6c837e | ||
| cannonPrestate = "0x0364251d4ea4b677ac462a25642b6de1fa53b2d6b97e56380691906bdb2e95cf" | ||
| cannonKonaPrestate = "0x03091ea717990785736623f894e6fb344fcf262361657bb28c9ece29207d9a9c" | ||
| expectedValidationErrors = "OVERRIDES-L1PAOMULTISIG,OVERRIDES-CHALLENGER,SYSCON-130" | ||
| # OVERRIDES-L1PAOMULTISIG,OVERRIDES-CHALLENGER: these are expected as they are not the standard OP Sepolia ones | ||
| # SYSCON-130: this is expected as the SystemConfig proxyAdmin on betanets is not the standard OP Sepolia one | ||
|
|
||
| [addresses] | ||
| OPCM = "0xf0a2e224519e876979ea6b2cd15ef5cc3d6703bd" # v600 OPCM source: https://github.com/ethereum-optimism/superchain-registry/blob/c84ed822ae5a65500d8c0e323460fa688cfcca22/validation/standard/standard-versions-sepolia.toml#L23C56-L23C98 | ||
|
|
||
|
|
||
| [stateOverrides] | ||
| 0xe934Dc97E347C6aCef74364B50125bb8689c40ff = [ | ||
| {key = "0x0000000000000000000000000000000000000000000000000000000000000005", value = 63} | ||
| ] | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.