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
bfa581bf
Commit
bfa581bf
authored
Jul 18, 2023
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-chain-ops: ensure immutables set correctly
parent
50528857
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
layer_two.go
op-chain-ops/genesis/layer_two.go
+1
-1
immutables.go
op-chain-ops/immutables/immutables.go
+10
-0
No files found.
op-chain-ops/genesis/layer_two.go
View file @
bfa581bf
...
...
@@ -61,7 +61,7 @@ func BuildL2Genesis(config *DeployConfig, l1StartBlock *types.Block) (*core.Gene
}
db
.
CreateAccount
(
codeAddr
)
db
.
SetState
(
addr
,
ImplementationSlot
,
codeAddr
.
Hash
())
log
.
Trace
(
"Set proxy"
,
"name"
,
name
,
"address"
,
a
ddr
)
log
.
Info
(
"Set proxy"
,
"name"
,
name
,
"address"
,
addr
,
"implementation"
,
codeA
ddr
)
}
else
{
db
.
DeleteState
(
addr
,
AdminSlot
)
}
...
...
op-chain-ops/immutables/immutables.go
View file @
bfa581bf
...
...
@@ -144,6 +144,12 @@ func BuildOptimism(immutable ImmutableConfig) (DeploymentResults, error) {
{
Name
:
"LegacyERC20ETH"
,
},
{
Name
:
"EAS"
,
},
{
Name
:
"SchemaRegistry"
,
},
}
return
BuildL2
(
deployments
)
}
...
...
@@ -239,6 +245,10 @@ func l2Deployer(backend *backends.SimulatedBackend, opts *bind.TransactOpts, dep
_
,
tx
,
_
,
err
=
bindings
.
DeployOptimismMintableERC721Factory
(
opts
,
backend
,
bridge
,
remoteChainId
)
case
"LegacyERC20ETH"
:
_
,
tx
,
_
,
err
=
bindings
.
DeployLegacyERC20ETH
(
opts
,
backend
)
case
"EAS"
:
_
,
tx
,
_
,
err
=
bindings
.
DeployEAS
(
opts
,
backend
)
case
"SchemaRegistry"
:
_
,
tx
,
_
,
err
=
bindings
.
DeploySchemaRegistry
(
opts
,
backend
)
default
:
return
tx
,
fmt
.
Errorf
(
"unknown contract: %s"
,
deployment
.
Name
)
}
...
...
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