Skip to content

Commit

Permalink
Deploy new contract based off op-contracts/v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00101010 committed Dec 10, 2024
1 parent 433bdf5 commit 3226893
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 7 deletions.
7 changes: 5 additions & 2 deletions mainnet/2024-11-18-increase-max-gas-limit/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OPTIMISM_REPO=https://github.com/ethereum-optimism/optimism.git
OPTIMISM_VERSION=op-contracts/v1.5.0
OPTIMISM_VERSION=op-contracts/v1.4.0
OPTIMISM_CONTRACT_PATCH=patch/max-gas-limit.patch
BASE_CONTRACTS_COMMIT=ed36aac52a19bdad6dee09c59e7241fe3a194160

Expand All @@ -9,4 +9,7 @@ SAFE_ADDRESS=0x7bb41c3008b3f03fe483b28b8db90e19cf07595c
PROXY_ADMIN_ADDRESS=0x0475cBCAebd9CE8AfA5025828d5b98DFb67E059E
SYSTEM_CONFIG_ADDRESS=0x73a79Fab69143498Ed3712e519A88a918e1f4072

NEW_IMPLEMENTATION=0x3c768A33C473F664678b58C2253DB096b41F7cFC
NEW_IMPLEMENTATION=0x45c4e267ae21e90f72c8abf43ddb5941c953482f

# override this if you experience rate limit issues with the default
# L1_RPC_URL=https://eth.llamarpc.com
8 changes: 3 additions & 5 deletions mainnet/2024-11-18-increase-max-gas-limit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,9 @@ Before: 0x0000000000000000000000000000000000000000000000000000000000000003
After: 0x0000000000000000000000000000000000000000000000000000000000000004
```

2. And for the same contract, verify that this specific execution is approved by the other signer multisig:
2. And for the same contract, verify that another key is set from 0 to 1 reflecting an entry in the approvedHashes mapping:

```
Key (if you are an OP signer): 0x3de911d6c3893f34ba66d689f486b69c507df2b5b9000fca28603b49dfbc2c07
Key (if you are a CB signer): 0xc283012356139d32a690c5c85f0f9005bd90fce119f7c48cd92e2a585cc1ab41
Before: 0x0000000000000000000000000000000000000000000000000000000000000000
After: 0x0000000000000000000000000000000000000000000000000000000000000001
```
Expand Down Expand Up @@ -102,12 +100,12 @@ After: 0x0000000000000000000000000000000000000000000000000000000000000010
```
Key: 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Before: 0x000000000000000000000000f56d96b2535b932656d3c04ebf51babff241d886
After: 0x0000000000000000000000003c768a33c473f664678b58c2253db096b41f7cfc
After: 0x00000000000000000000000045c4e267ae21e90f72c8abf43ddb5941c953482f
```

Current implementation: [0xf56d96b2535b932656d3c04ebf51babff241d886](https://etherscan.io/address/0xf56d96b2535b932656d3c04ebf51babff241d886#code)

New implementation: [0x3c768a33c473f664678b58c2253db096b41f7cfc](https://etherscan.io/address/0x3c768a33c473f664678b58c2253db096b41f7cfc#code)
New implementation: [0x45c4e267ae21e90f72c8abf43ddb5941c953482f](https://etherscan.io/address/0x45c4e267ae21e90f72c8abf43ddb5941c953482f#code)


#### 3.3. Extract the domain hash and the message hash to approve.
Expand Down
Loading

0 comments on commit 3226893

Please sign in to comment.