Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
485de298
Commit
485de298
authored
May 30, 2023
by
Kevin Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add multisig transactions and verification script for bedrock migration.
parent
499c0f0e
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
403 additions
and
0 deletions
+403
-0
foundry.toml
packages/contracts-bedrock/foundry.toml
+1
-0
CheckForBedrockMigration.s.sol
...s-bedrock/scripts/multisig/CheckForBedrockMigration.s.sol
+209
-0
b1.json
...s-bedrock/scripts/multisig/json/mainnet-migration/b1.json
+79
-0
b2.json
...s-bedrock/scripts/multisig/json/mainnet-migration/b2.json
+48
-0
b3.json
...s-bedrock/scripts/multisig/json/mainnet-migration/b3.json
+33
-0
escapeHatch.json
.../scripts/multisig/json/mainnet-migration/escapeHatch.json
+33
-0
No files found.
packages/contracts-bedrock/foundry.toml
View file @
485de298
...
@@ -22,6 +22,7 @@ no_match_contract = 'EchidnaFuzz'
...
@@ -22,6 +22,7 @@ no_match_contract = 'EchidnaFuzz'
fs_permissions
=
[
fs_permissions
=
[
{
'access'='read-write'
,
'path'='./.resource-metering.csv'
}
,
{
'access'='read-write'
,
'path'='./.resource-metering.csv'
}
,
{
'access'='read'
,
'path'='./deployments/'
}
,
]
]
[profile.ci]
[profile.ci]
...
...
packages/contracts-bedrock/scripts/multisig/CheckForBedrockMigration.s.sol
0 → 100644
View file @
485de298
This diff is collapsed.
Click to expand it.
packages/contracts-bedrock/scripts/multisig/json/mainnet-migration/b1.json
0 → 100644
View file @
485de298
{
"version"
:
"1.0"
,
"chainId"
:
"1"
,
"meta"
:
{
"name"
:
"batch1"
,
"description"
:
"AddressManager.transferOwnership, L1StandardBridgeProxy.setOwner, L1ERC721BridgeProxy.changeAdmin, and SystemDictatorProxy.phase1."
,
"txBuilderVersion"
:
"1.13.3"
},
"transactions"
:
[
{
"to"
:
"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F"
,
"value"
:
"0"
,
"data"
:
null
,
"contractMethod"
:
{
"inputs"
:
[
{
"internalType"
:
"address"
,
"name"
:
"newOwner"
,
"type"
:
"address"
}
],
"name"
:
"transferOwnership"
,
"payable"
:
false
},
"contractInputsValues"
:
{
"newOwner"
:
"0xB4453CEb33d2e67FA244A24acf2E50CEF31F53cB"
}
},
{
"to"
:
"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"
,
"value"
:
"0"
,
"data"
:
null
,
"contractMethod"
:
{
"inputs"
:
[
{
"internalType"
:
"address"
,
"name"
:
"_owner"
,
"type"
:
"address"
}
],
"name"
:
"setOwner"
,
"payable"
:
false
},
"contractInputsValues"
:
{
"_owner"
:
"0xB4453CEb33d2e67FA244A24acf2E50CEF31F53cB"
}
},
{
"to"
:
"0x5a7749f83b81B301cAb5f48EB8516B986DAef23D"
,
"value"
:
"0"
,
"data"
:
null
,
"contractMethod"
:
{
"inputs"
:
[
{
"internalType"
:
"address"
,
"name"
:
"_admin"
,
"type"
:
"address"
}
],
"name"
:
"changeAdmin"
,
"payable"
:
false
},
"contractInputsValues"
:
{
"_admin"
:
"0xB4453CEb33d2e67FA244A24acf2E50CEF31F53cB"
}
},
{
"to"
:
"0xB4453CEb33d2e67FA244A24acf2E50CEF31F53cB"
,
"value"
:
"0"
,
"data"
:
null
,
"contractMethod"
:
{
"inputs"
:
[],
"name"
:
"phase1"
,
"payable"
:
false
},
"contractInputsValues"
:
{}
}
]
}
packages/contracts-bedrock/scripts/multisig/json/mainnet-migration/b2.json
0 → 100644
View file @
485de298
{
"version"
:
"1.0"
,
"chainId"
:
"1"
,
"meta"
:
{
"name"
:
"batch2"
,
"description"
:
"SystemDictatorProxy.updateDynamicConfig."
,
"txBuilderVersion"
:
"1.13.3"
},
"transactions"
:
[
{
"to"
:
"0xB4453CEb33d2e67FA244A24acf2E50CEF31F53cB"
,
"value"
:
"0"
,
"data"
:
null
,
"contractMethod"
:
{
"inputs"
:
[
{
"components"
:
[
{
"internalType"
:
"uint256"
,
"name"
:
"l2OutputOracleStartingBlockNumber"
,
"type"
:
"uint256"
},
{
"internalType"
:
"uint256"
,
"name"
:
"l2OutputOracleStartingTimestamp"
,
"type"
:
"uint256"
}
],
"internalType"
:
"struct SystemDictator.L2OutputOracleDynamicConfig"
,
"name"
:
"_l2OutputOracleDynamicConfig"
,
"type"
:
"tuple"
},
{
"internalType"
:
"bool"
,
"name"
:
"_optimismPortalDynamicConfig"
,
"type"
:
"bool"
}
],
"name"
:
"updateDynamicConfig"
,
"payable"
:
false
},
"contractInputsValues"
:
{
"_l2OutputOracleDynamicConfig"
:
"[TBD, TBD]"
,
"_optimismPortalDynamicConfig"
:
"true"
}
}
]
}
packages/contracts-bedrock/scripts/multisig/json/mainnet-migration/b3.json
0 → 100644
View file @
485de298
{
"version"
:
"1.0"
,
"chainId"
:
"1"
,
"meta"
:
{
"name"
:
"batch3"
,
"description"
:
"SystemDictatorProxy.phase2 and OptimismPortalProxy.unpause."
,
"txBuilderVersion"
:
"1.13.3"
},
"transactions"
:
[
{
"to"
:
"0xB4453CEb33d2e67FA244A24acf2E50CEF31F53cB"
,
"value"
:
"0"
,
"data"
:
null
,
"contractMethod"
:
{
"inputs"
:
[],
"name"
:
"phase2"
,
"payable"
:
false
},
"contractInputsValues"
:
{}
},
{
"to"
:
"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
,
"value"
:
"0"
,
"data"
:
null
,
"contractMethod"
:
{
"inputs"
:
[],
"name"
:
"unpause"
,
"payable"
:
false
},
"contractInputsValues"
:
{}
}
]
}
packages/contracts-bedrock/scripts/multisig/json/mainnet-migration/escapeHatch.json
0 → 100644
View file @
485de298
{
"version"
:
"1.0"
,
"chainId"
:
"1"
,
"meta"
:
{
"name"
:
"EscapeHatch"
,
"description"
:
"SystemDictatorProxy.exit1 and finalize."
,
"txBuilderVersion"
:
"1.14.1"
},
"transactions"
:
[
{
"to"
:
"0xB4453CEb33d2e67FA244A24acf2E50CEF31F53cB"
,
"value"
:
"0"
,
"data"
:
null
,
"contractMethod"
:
{
"inputs"
:
[],
"name"
:
"exit1"
,
"payable"
:
false
},
"contractInputsValues"
:
null
},
{
"to"
:
"0xB4453CEb33d2e67FA244A24acf2E50CEF31F53cB"
,
"value"
:
"0"
,
"data"
:
null
,
"contractMethod"
:
{
"inputs"
:
[],
"name"
:
"finalize"
,
"payable"
:
false
},
"contractInputsValues"
:
null
}
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment