diff --git a/src/tasks/sep/049-rev-share-ink-soneium/README.md b/src/tasks/sep/049-rev-share-ink-soneium/README.md index c95b14bc1..20d785910 100644 --- a/src/tasks/sep/049-rev-share-ink-soneium/README.md +++ b/src/tasks/sep/049-rev-share-ink-soneium/README.md @@ -1,6 +1,6 @@ # 049-rev-share-ink-soneium: RevShare Upgrade and Setup for Ink Sepolia and Soneium Minato -Status: [DRAFT, NOT READY TO SIGN]() +Status: [CANCELLED] ## Objective diff --git a/src/tasks/sep/053-U18-op-betanets-v3/.env b/src/tasks/sep/053-U18-op-betanets-v3/.env new file mode 100644 index 000000000..02789f94b --- /dev/null +++ b/src/tasks/sep/053-U18-op-betanets-v3/.env @@ -0,0 +1 @@ +TENDERLY_GAS=15000000 \ No newline at end of file diff --git a/src/tasks/sep/053-U18-op-betanets-v3/README.md b/src/tasks/sep/053-U18-op-betanets-v3/README.md new file mode 100644 index 000000000..c27815580 --- /dev/null +++ b/src/tasks/sep/053-U18-op-betanets-v3/README.md @@ -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 +``` \ No newline at end of file diff --git a/src/tasks/sep/053-U18-op-betanets-v3/VALIDATION.md b/src/tasks/sep/053-U18-op-betanets-v3/VALIDATION.md new file mode 100644 index 000000000..e9faf266b --- /dev/null +++ b/src/tasks/sep/053-U18-op-betanets-v3/VALIDATION.md @@ -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 +``` \ No newline at end of file diff --git a/src/tasks/sep/053-U18-op-betanets-v3/addresses.json b/src/tasks/sep/053-U18-op-betanets-v3/addresses.json new file mode 100644 index 000000000..bcde280be --- /dev/null +++ b/src/tasks/sep/053-U18-op-betanets-v3/addresses.json @@ -0,0 +1,36 @@ +{ + "420110021": { + "ProxyAdmin": "0x62ff56134b2a107d03690fB4C8dbB3Ef840e92Dd", + "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" + } +} diff --git a/src/tasks/sep/053-U18-op-betanets-v3/config.toml b/src/tasks/sep/053-U18-op-betanets-v3/config.toml new file mode 100644 index 000000000..46460d7b1 --- /dev/null +++ b/src/tasks/sep/053-U18-op-betanets-v3/config.toml @@ -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 + +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} +]