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
0d705b1a
Unverified
Commit
0d705b1a
authored
Jan 13, 2025
by
Matthew Slipper
Committed by
GitHub
Jan 13, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-deployer: Add v1.8.0 mainnet support (#13737)
parent
5a18b066
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
apply_test.go
op-deployer/pkg/deployer/integration_test/apply_test.go
+11
-0
standard.go
op-deployer/pkg/deployer/standard/standard.go
+15
-0
No files found.
op-deployer/pkg/deployer/integration_test/apply_test.go
View file @
0d705b1a
...
...
@@ -315,6 +315,17 @@ func TestApplyExistingOPCM(t *testing.T) {
expectedL1SemversV180
,
expectedL2SemversV160
,
},
{
"mainnet v1.8.0-rc.4"
,
"mainnet"
,
"op-contracts/v1.8.0-rc.4"
,
// The L2 predeploys need to still be the v1.7.0 beta contracts.
"op-contracts/v1.7.0-beta.1+l2-contracts"
,
// The L2 predeploys do not change in version 1.8.0.
"allocs-l2-v160-1.json.gz"
,
expectedL1SemversV180
,
expectedL2SemversV160
,
},
}
for
_
,
tt
:=
range
tests
{
t
.
Run
(
tt
.
name
,
func
(
t
*
testing
.
T
)
{
...
...
op-deployer/pkg/deployer/standard/standard.go
View file @
0d705b1a
...
...
@@ -116,6 +116,16 @@ var opcmBlueprintsByVersion = map[string]OPCMBlueprintsByChain{
},
},
"op-contracts/v1.8.0-rc.4"
:
{
Mainnet
:
&
OPCMBlueprints
{
AddressManager
:
common
.
HexToAddress
(
"0x29aA24714c06914d9689e933cae2293C569AfeEa"
),
Proxy
:
common
.
HexToAddress
(
"0x3626ebD458c7f34FD98789A373593fF2fc227bA0"
),
ProxyAdmin
:
common
.
HexToAddress
(
"0x7170678A5CFFb6872606d251B3CcdB27De962631"
),
L1ChugSplashProxy
:
common
.
HexToAddress
(
"0x538906C8B000D621fd11B7e8642f504dD8730837"
),
ResolvedDelegateProxy
:
common
.
HexToAddress
(
"0xF12bD34d6a1d26d230240ECEA761f77e2013926E"
),
AnchorStateRegistry
:
common
.
HexToAddress
(
"0xbA7Be2bEE016568274a4D1E6c852Bb9a99FaAB8B"
),
PermissionedDisputeGame1
:
common
.
HexToAddress
(
"0x596A4334a28056c7943c8bcEf220F38cA5B42dC5"
),
// updated
PermissionedDisputeGame2
:
common
.
HexToAddress
(
"0x4E3E5C09B07AAA3fe482F5A1f82a19e91944Fffc"
),
// updated
},
Sepolia
:
&
OPCMBlueprints
{
AddressManager
:
common
.
HexToAddress
(
"0x3125a4cB2179E04203D3Eb2b5784aaef9FD64216"
),
Proxy
:
common
.
HexToAddress
(
"0xe650ADb86a0de96e2c434D0a52E7D5B70980D6f1"
),
...
...
@@ -234,6 +244,11 @@ func ManagerImplementationAddrFor(chainID uint64, tag string) (common.Address, e
// Verified against compiled bytecode at:
// https://github.com/ethereum-optimism/optimism/releases/tag/op-contracts-v160-artifacts-opcm-redesign-backport
return
common
.
HexToAddress
(
"0x9BC0A1eD534BFb31a6Be69e5b767Cba332f14347"
),
nil
case
"op-contracts/v1.8.0-rc.4"
:
// Generated using the bootstrap command on 01/23/2025.
// Verified against compiled bytecode at:
// https://github.com/ethereum-optimism/optimism/releases/tag/op-contracts-v180-blueprints-script
return
common
.
HexToAddress
(
"0x5269eed89b0d04d909a0973439e2587e815ba932"
),
nil
default
:
return
common
.
Address
{},
fmt
.
Errorf
(
"unsupported mainnet tag: %s"
,
tag
)
}
...
...
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