Skip to content
2 changes: 1 addition & 1 deletion src/tasks/sep/036-soneium-add-game-type/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 036-soneium-add-game-type

Status: [DRAFT, NOT READY TO SIGN]
Status: [CANCELLED]

## Objective

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 037-soneium-set-respected-game-type

Status: [DRAFT, NOT READY TO SIGN]
Status: [CANCELLED]

## Objective

Expand Down
1 change: 1 addition & 0 deletions src/tasks/sep/038-U17-sep-op-sony-ink/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TENDERLY_GAS=30000000
Comment thread
Wazabie marked this conversation as resolved.
21 changes: 21 additions & 0 deletions src/tasks/sep/038-U17-sep-op-sony-ink/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 038-U17-sep-op-sony-ink

Status: [DRAFT, NOT READY TO SIGN]

## Objective

This task upgrades Arena-Z Sepolia to U16a.
Comment thread
Wazabie marked this conversation as resolved.
Outdated

## Simulation & Signing

Simulation commands for each safe:
```bash
cd src/tasks/sep/038-U17-sep-op-sony-ink
SIMULATE_WITHOUT_LEDGER=1 just --dotenv-path $(pwd)/.env simulate <council|foundation>
```

Signing commands for each safe:
```bash
cd src/tasks/sep/038-U17-sep-op-sony-ink
just --dotenv-path $(pwd)/.env sign <council|foundation>
```
37 changes: 37 additions & 0 deletions src/tasks/sep/038-U17-sep-op-sony-ink/VALIDATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Validation

This document can be used to validate the inputs and result of the execution of the upgrade transaction which you are
signing.

The steps are:

1. [Validate the Domain and Message Hashes](#expected-domain-and-message-hashes)
2. [Verifying the state changes via the normalized state diff hash](#normalized-state-diff-hash-attestation)
Comment thread
Wazabie marked this conversation as resolved.
Outdated
3. [Verifying the transaction input](#understanding-task-calldata)
4. [Verifying the state changes](#task-state-changes)

## 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.
>
> ### Security Council Safe (`0xf64bc17485f0B4Ea5F06A96514182FC4cB561977`)
>
> - Domain Hash: `0xbe081970e9fc104bd1ea27e375cd21ec7bb1eec56bfe43347c3e36c5d27b8533`
> - Message Hash: `0x0ac706408828a9281eb407b62c0f039f791ce44cd61cf7cdb3952ff22548b9fa`
>
> ### Foundation Safe (`0xDEe57160aAfCF04c34C887B5962D0a69676d3C8B`)
>
> - Domain Hash: `0x37e1f5dd3b92a004a23589b741196c8a214629d4ea3a690ec8e41ae45c689cbb`
> - Message Hash: `0x4f9984269fff3c01d41061bbb20ee77c97b202b1f8b2fd11d445c5e412af75c9`

## Task Calldata

Calldata:
```
0x82ad56cb00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001200000000000000000000000006af7ece7d6506be573841b8cf29096638df5fc4f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044b0b807eb000000000000000000000000c2be75506d5724086deb7245bd260cc9753911be000000000000000000000000189abaaaa82dfc015a588a7dbad6f13b1d3485bc000000000000000000000000000000000000000000000000000000000000000000000000000000006af7ece7d6506be573841b8cf29096638df5fc4f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000164ff2dd5a100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000034edd2a225f7f429a63e0f1d2084b9e0a93b538000000000000000000000000189abaaaa82dfc015a588a7dbad6f13b1d3485bc038dca684026d946d1d0ddb05d50685d1a0dab350b89d10b6705e83c41ec875500000000000000000000000005c993e60179f28bf649a2bb5b00b5f4283bd525000000000000000000000000d7db319a49362b2328cf417a934300cccb442c8d038dca684026d946d1d0ddb05d50685d1a0dab350b89d10b6705e83c41ec87550000000000000000000000004ca9608fef202216bc21d543798ec854539baad3000000000000000000000000ff9d236641962cebf9dbfb54e7b8e91f99f10db0038dca684026d946d1d0ddb05d50685d1a0dab350b89d10b6705e83c41ec875500000000000000000000000000000000000000000000000000000000
```
54 changes: 54 additions & 0 deletions src/tasks/sep/038-U17-sep-op-sony-ink/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
l2chains = [
{name = "OP Sepolia Testnet", chainId = 11155420},
{name = "Ink Sepolia Testnet", chainId = 763373},
{name = "Soneium Testnet Minato", chainId = 1946}
]

templateName = "OPCMUpgradeV500"

allowOverwrite = ["SuperchainConfig"]



# OP Sepolia Testnet (Permissionless)

[[opcmUpgrades]]
chainId = 11155420
absolutePrestate = "0x038dca684026d946d1d0ddb05d50685d1a0dab350b89d10b6705e83c41ec8755" # prestates."1.7.0-rc.5" https://github.com/ethereum-optimism/devnets/issues/123#issuecomment-3444735369
expectedValidationErrors = "PDDG-VM-30,PLDG-VM-30"
Comment thread
Wazabie marked this conversation as resolved.
Outdated

# Soneium Testnet Minato (Permissioned)

[[opcmUpgrades]]
chainId = 1946
absolutePrestate = "0x038dca684026d946d1d0ddb05d50685d1a0dab350b89d10b6705e83c41ec8755" # prestates."1.7.0-rc.5" https://github.com/ethereum-optimism/devnets/issues/123#issuecomment-3444735369
expectedValidationErrors = "PDDG-VM-30,PDDG-130,PLDG-10"

# Ink Sepolia Testnet (Permissionless)

[[opcmUpgrades]]
chainId = 763373
absolutePrestate = "0x038dca684026d946d1d0ddb05d50685d1a0dab350b89d10b6705e83c41ec8755" # prestates."1.7.0-rc.5" https://github.com/ethereum-optimism/devnets/issues/123#issuecomment-3444735369
expectedValidationErrors = "PDDG-VM-30,PLDG-VM-30"
Comment thread
Wazabie marked this conversation as resolved.
Outdated



[addresses]

OPCM = "0x6af7ece7d6506be573841b8cf29096638df5fc4f" # Source: https://www.notion.so/oplabs/op-contracts-release-for-U17-Jovian-294f153ee16280b99539c5b6de67c72f?source=copy_link#295f153ee162800a84c7f37811ecf3ec
StandardValidatorV500 = "0x8ed9A48B40675acf9ec623aFc23DdB015Ae60df0" # Source: cast call validator's from OPCM above
SuperchainConfig = "0xC2Be75506d5724086DEB7245bd260Cc9753911Be" # Source: https://github.com/ethereum-optimism/superchain-registry/blob/6748f8050bfab9930abdfc46288f9629af2f7b38/superchain/configs/sepolia/superchain.toml#L3C27-L3C69
SuperchainConfigProxyAdmin = "0x189aBAAaa82DfC015A588A7dbaD6F13b1D3485Bc" # Source: cast call ProxyAdmin address from SuperchainConfig above


[stateOverrides]

0x1Eb2fFc903729a0F03966B917003800b145F56E2 = [ # L1PAO
{key = "0x0000000000000000000000000000000000000000000000000000000000000005", value = 38}
]
0xf64bc17485f0B4Ea5F06A96514182FC4cB561977 = [ # SC
{key = "0x0000000000000000000000000000000000000000000000000000000000000005", value = 50}
]
0xDEe57160aAfCF04c34C887B5962D0a69676d3C8B = [ # FUS
{key = "0x0000000000000000000000000000000000000000000000000000000000000005", value = 53}
]