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
7e9c0f86
Commit
7e9c0f86
authored
Dec 07, 2023
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-upgrade: fixup
parent
7efc4392
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
3 deletions
+31
-3
l1.go
op-chain-ops/upgrades/l1.go
+31
-3
No files found.
op-chain-ops/upgrades/l1.go
View file @
7e9c0f86
...
@@ -59,8 +59,21 @@ func L1CrossDomainMessenger(batch *safe.Batch, implementations superchain.Implem
...
@@ -59,8 +59,21 @@ func L1CrossDomainMessenger(batch *safe.Batch, implementations superchain.Implem
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L28
calldata
,
err
:=
storageSetterABI
.
Pack
(
"setBytes32"
,
common
.
Hash
{
31
:
0xf9
},
common
.
Hash
{})
input
:=
[]
bindings
.
StorageSetterSlot
{
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L11-L13
{
Key
:
common
.
Hash
{},
Value
:
common
.
Hash
{},
},
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L28
{
Key
:
common
.
Hash
{
31
:
249
},
Value
:
common
.
Hash
{},
},
}
calldata
,
err
:=
storageSetterABI
.
Pack
(
"setBytes32"
,
input
)
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
...
@@ -112,7 +125,7 @@ func L1ERC721Bridge(batch *safe.Batch, implementations superchain.Implementation
...
@@ -112,7 +125,7 @@ func L1ERC721Bridge(batch *safe.Batch, implementations superchain.Implementation
return
err
return
err
}
}
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L100-L10
3
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L100-L10
2
calldata
,
err
:=
storageSetterABI
.
Pack
(
"setBytes32"
,
common
.
Hash
{},
common
.
Hash
{})
calldata
,
err
:=
storageSetterABI
.
Pack
(
"setBytes32"
,
common
.
Hash
{},
common
.
Hash
{})
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
...
@@ -231,6 +244,11 @@ func L2OutputOracle(batch *safe.Batch, implementations superchain.Implementation
...
@@ -231,6 +244,11 @@ func L2OutputOracle(batch *safe.Batch, implementations superchain.Implementation
}
}
input
:=
[]
bindings
.
StorageSetterSlot
{
input
:=
[]
bindings
.
StorageSetterSlot
{
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L50-L51
{
Key
:
common
.
Hash
{},
Value
:
common
.
Hash
{},
},
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L55
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L55
{
{
Key
:
common
.
Hash
{
31
:
0x04
},
Key
:
common
.
Hash
{
31
:
0x04
},
...
@@ -385,6 +403,11 @@ func OptimismPortal(batch *safe.Batch, implementations superchain.Implementation
...
@@ -385,6 +403,11 @@ func OptimismPortal(batch *safe.Batch, implementations superchain.Implementation
}
}
input
:=
[]
bindings
.
StorageSetterSlot
{
input
:=
[]
bindings
.
StorageSetterSlot
{
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L64-L65
{
Key
:
common
.
Hash
{},
Value
:
common
.
Hash
{},
},
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L72
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L72
{
{
Key
:
common
.
Hash
{
31
:
53
},
Key
:
common
.
Hash
{
31
:
53
},
...
@@ -457,6 +480,11 @@ func SystemConfig(batch *safe.Batch, implementations superchain.ImplementationLi
...
@@ -457,6 +480,11 @@ func SystemConfig(batch *safe.Batch, implementations superchain.ImplementationLi
}
}
input
:=
[]
bindings
.
StorageSetterSlot
{
input
:=
[]
bindings
.
StorageSetterSlot
{
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L82-L83
{
Key
:
common
.
Hash
{},
Value
:
common
.
Hash
{},
},
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L92
// https://github.com/ethereum-optimism/optimism/blob/86a96023ffd04d119296dff095d02fff79fa15de/packages/contracts-bedrock/.storage-layout#L92
{
{
Key
:
common
.
Hash
{
31
:
106
},
Key
:
common
.
Hash
{
31
:
106
},
...
...
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