-
Notifications
You must be signed in to change notification settings - Fork 128
U17 Unichain Mainnet #1271
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
U17 Unichain Mainnet #1271
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e1801e9
U17 Unichain Main
Wazabie dbee3a6
Add arena-z task to run stacked simulation correctly
Wazabie 4fd5bc4
Pin block number
Wazabie 0ec0e21
Merge branch 'main' into u17-main-unichain
Wazabie a8a5e76
update fork block number
Wazabie 3f5a251
Update .env
Wazabie b62c859
Update TaskManager.t.sol
Wazabie a431d77
Update TaskManager.t.sol
Wazabie 09ffe36
Update .env
Wazabie 95f07ab
Update prestates
Wazabie 34a574d
Merge branch 'main' into u17-main-unichain
Wazabie 880215e
Update opcm and prestate
Wazabie b441153
Merge branch 'main' into u17-main-unichain
mds1 12db581
Merge branch 'main' into u17-main-unichain
mds1 a9802d4
Merge branch 'main' into u17-main-unichain
mds1 83af3ff
doc: fix readme
mds1 9542c64
fix: restore arena-z validations
mds1 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=30000000 |
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,21 @@ | ||
| # 035-U17-main-unichain | ||
|
|
||
| Status: [READY TO SIGN] | ||
|
|
||
| ## Objective | ||
|
|
||
| This task upgrades Unichain Mainnet to U17. | ||
|
|
||
| ## Simulation & Signing | ||
|
|
||
| Simulation commands for each safe: | ||
| ```bash | ||
| cd src/tasks/eth/035-U17-main-unichain | ||
| just simulate-stack eth 035-U17-main-unichain <foundation|council|chain-governor> | ||
| ``` | ||
|
|
||
| Signing commands for each safe: | ||
| ```bash | ||
| cd src/tasks/eth/035-U17-main-unichain | ||
| just sign-stack eth 035-U17-main-unichain <foundation|council|chain-governor> | ||
| ``` |
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,34 @@ | ||
| # Validation | ||
|
|
||
| This document can be used to validate the inputs and result of the execution of the upgrade transaction which you are | ||
| signing. | ||
|
|
||
| ## Expected Domain and Message Hashes | ||
|
|
||
| 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. | ||
| > | ||
| > ### Nested Safe 1 (Foundation): `0x847B5c174615B1B7fDF770882256e2D3E95b9D92` | ||
| > | ||
| > - Domain Hash: `0xa4a9c312badf3fcaa05eafe5dc9bee8bd9316c78ee8b0bebe3115bb21b732672` | ||
| > - Message Hash: `0xcf4f3369bd2575ac3f8217f3e7c6aba4adff055877d31b082dd4b99057b5618e` | ||
| > | ||
| > ### Nested Safe 2 (Security Council): `0xc2819DC788505Aac350142A7A707BF9D03E3Bd03` | ||
| > | ||
| > - Domain Hash: `0xdf53d510b56e539b90b369ef08fce3631020fbf921e3136ea5f8747c20bce967` | ||
| > - Message Hash: `0xad2bac47957352becbbb8bd6030b7dd78f8b3cca7394d4f2a6af6e1a8b9ea22f` | ||
| > | ||
| > ### Nested Safe 3 (Chain Governor): `0xb0c4C487C5cf6d67807Bc2008c66fa7e2cE744EC` | ||
| > | ||
| > - Domain Hash: `0x4f0b6efb6c01fa7e127a0ff87beefbeb53e056d30d3216c5ac70371b909ca66d` | ||
| > - Message Hash: `0x4a00bc5afeeb5a0163fe4b99a6dc5aed18aee96862d928dc42f2d3d4d63b6f0d` | ||
|
|
||
| ## Task Calldata | ||
|
|
||
| ``` | ||
| 0x82ad56cb000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000fa1ef97fb02b0da2ee2346b8e310907ab55194490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a4ff2dd5a100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c407398d063f942febbcc6f80a156b47f3f1bda60000000000000000000000003b73fa8d82f511a3cae17b5a26e4e1a2d5e2f2a403caa1871bb9fe7f9b11217c245c16e4ded33367df5b3ccb2c6d0a847a217d1b00000000000000000000000000000000000000000000000000000000 | ||
| ``` |
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,39 @@ | ||
| l2chains = [ | ||
| {name = "Unichain", chainId = 130} | ||
| ] | ||
|
|
||
| templateName = "OPCMUpgradeV500" | ||
|
|
||
|
|
||
| # Unichain (Permissionless) | ||
| [[opcmUpgrades]] | ||
| chainId = 130 | ||
| # Jovian prestate: | ||
| absolutePrestate = "0x03caa1871bb9fe7f9b11217c245c16e4ded33367df5b3ccb2c6d0a847a217d1b" # prestates."1.8.0-rc.4" https://github.com/ethereum-optimism/superchain-registry/blob/9e3f71cee0e4e2acb4864cb00f5fbee3555d8e9f/validation/standard/standard-prestates.toml#L6C7-L6C73 | ||
| expectedValidationErrors = "OVERRIDES-L1PAOMULTISIG,OVERRIDES-CHALLENGER" # The template provides PAO and Challenger overrides to the validator from the SCR. These simply indicate overrides were used. PLDG-10 (missing Permissionless implementation) is expected as this is a permissioned chain. | ||
|
|
||
|
|
||
| [addresses] | ||
| OPCM = "0xfa1ef97fb02b0da2ee2346b8e310907ab5519449" # Source: https://github.com/ethereum-optimism/superchain-registry/blob/9e3f71cee0e4e2acb4864cb00f5fbee3555d8e9f/validation/standard/standard-versions-mainnet.toml#L23C56-L23C98 | ||
|
|
||
|
|
||
| [stateOverrides] | ||
| # Unichain 3/3 (L1PAO) | ||
| 0x6d5B183F538ABB8572F5cD17109c617b994D5833 = [ | ||
| {key = "0x0000000000000000000000000000000000000000000000000000000000000005", value = 7} | ||
| ] | ||
|
|
||
| # Unichain Operations Safe | ||
| 0xb0c4C487C5cf6d67807Bc2008c66fa7e2cE744EC = [ | ||
| {key = "0x0000000000000000000000000000000000000000000000000000000000000005", value = 14} | ||
| ] | ||
|
|
||
| # Foundation Upgrade Safe | ||
| 0x847B5c174615B1B7fDF770882256e2D3E95b9D92 = [ | ||
| {key = "0x0000000000000000000000000000000000000000000000000000000000000005", value = 46} | ||
| ] | ||
|
|
||
| # Security Council | ||
| 0xc2819DC788505Aac350142A7A707BF9D03E3Bd03 = [ | ||
| {key = "0x0000000000000000000000000000000000000000000000000000000000000005", value = 49} | ||
|
Wazabie marked this conversation as resolved.
|
||
| ] | ||
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.