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
077254ed
Unverified
Commit
077254ed
authored
Jan 16, 2024
by
Wyatt Barnes
Committed by
GitHub
Jan 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update deployed bytecode comparison (#8984)
parent
b06b3ede
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
remote_handlers.go
op-bindings/bindgen/remote_handlers.go
+4
-4
No files found.
op-bindings/bindgen/remote_handlers.go
View file @
077254ed
...
...
@@ -69,14 +69,14 @@ func (generator *BindGenGeneratorRemote) create2DeployerHandler(contractMetadata
return
err
}
// We're expecting the
bytecode for Create2Deployer to not match the deployment
on OP,
// because
we're predeploying a modified version of Create2Deployer that has not yet been
//
deployed to OP
.
// We're expecting the
initialization bytecode for Create2Deployer to not match the init code
on OP,
// because
the deployment on OP has been overwritten by the Canyon hardfork, and the init code
//
Etherscan returns for the OP deployment is from the initial outdated deployment
.
// For context: https://github.com/ethereum-optimism/op-geth/pull/126
if
err
:=
generator
.
CompareInitBytecodeWithOp
(
contractMetadata
,
false
);
err
!=
nil
{
return
fmt
.
Errorf
(
"%s: %w"
,
contractMetadata
.
Name
,
err
)
}
if
err
:=
generator
.
CompareDeployedBytecodeWithOp
(
contractMetadata
,
fals
e
);
err
!=
nil
{
if
err
:=
generator
.
CompareDeployedBytecodeWithOp
(
contractMetadata
,
tru
e
);
err
!=
nil
{
return
fmt
.
Errorf
(
"%s: %w"
,
contractMetadata
.
Name
,
err
)
}
...
...
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