Skip to content

Commit

Permalink
Mainnet OPCM v2.0.0: base
Browse files Browse the repository at this point in the history
  • Loading branch information
blmalone committed Mar 5, 2025
1 parent 112892a commit 6a66d54
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/improvements/tasks/eth/001-opcm-upgrade-v200/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TENDERLY_GAS=16000000
20 changes: 20 additions & 0 deletions src/improvements/tasks/eth/001-opcm-upgrade-v200/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 001-opcm-upgrade-v200: Mainnet OPCM v2.0.0: Base

Status: [DRAFT]()

## Objective

Todo: Describe the objective of the task

### Timing

Example transaction

## Transaction creation

TODO

## Signing and execution

Status - TODO

50 changes: 50 additions & 0 deletions src/improvements/tasks/eth/001-opcm-upgrade-v200/VALIDATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## Understanding Task Calldata

Multicall3DelegateCall calldata:
```bash

```

### Decode Multicall3DelegateCall calldata:
```bash
cast calldata-decode 'aggregate3((address,bool,bytes)[])' <0x82ad56cb...>

[
(
,
,
)
]
```

1. First tuple (Call3 struct for Multicall3DelegateCall)
- `target`: []() - Mainnet OPContractsManager v2.0.0
- `allowFailure`: false
- `callData`: `0xff2dd5a1...` See below for decoding.

### Decode upgrade calldata

```bash
cast calldata-decode 'upgrade((address,address,bytes32)[])' <0xff2dd5a1...>

[
(
,
,

)
]
```
1. First tuple (Base):
- SystemConfigProxy: []()
- ProxyAdmin: []()
- AbsolutePrestate:

## Tenderly State Changes
[Link]()

## Auto Generated Task State Changes

```bash

```
10 changes: 10 additions & 0 deletions src/improvements/tasks/eth/001-opcm-upgrade-v200/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
l2chains = [
{name = "Base", chainId = 8453}
]

templateName = "OPCMUpgradeV200"

[opcmUpgrades]
absolutePrestates = [
{absolutePrestate = "", chainId = 8453},
]

0 comments on commit 6a66d54

Please sign in to comment.