-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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=16000000 |
20 changes: 20 additions & 0 deletions
20
src/improvements/tasks/eth/001-opcm-upgrade-v200/README.md
This file contains 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,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
50
src/improvements/tasks/eth/001-opcm-upgrade-v200/VALIDATION.md
This file contains 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,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
10
src/improvements/tasks/eth/001-opcm-upgrade-v200/config.toml
This file contains 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,10 @@ | ||
l2chains = [ | ||
{name = "Base", chainId = 8453} | ||
] | ||
|
||
templateName = "OPCMUpgradeV200" | ||
|
||
[opcmUpgrades] | ||
absolutePrestates = [ | ||
{absolutePrestate = "", chainId = 8453}, | ||
] |