-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(op-reth): Canyon transition create2Deployer
force deployment
#5527
Conversation
0535c78
to
a77682d
Compare
467b722
to
1f8252d
Compare
a77682d
to
1797497
Compare
1f8252d
to
4149bb2
Compare
1797497
to
062e6dc
Compare
4149bb2
to
13b7346
Compare
062e6dc
to
bc8ecc9
Compare
super::ensure_create2_deployer(self.chain_spec().clone(), block.timestamp, self.db_mut()) | ||
.map_err(|_| BlockExecutionError::ProviderError)?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the fork block ends up being empty, than the create2 deployer will never be committed because of an early return few lines above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thankfully this should never be possible :)
Optimism blocks will always have at least one transaction, which is the L1 info transaction sent by the system. Added a clarifying comment.
bc8ecc9
to
fd40cc7
Compare
21cf8be
to
f8ba976
Compare
fd40cc7
to
2967963
Compare
f8ba976
to
8efaf95
Compare
2967963
to
9c4f473
Compare
8efaf95
to
1ace0ff
Compare
9c4f473
to
430a6e4
Compare
1ace0ff
to
0b88100
Compare
430a6e4
to
dbcc15c
Compare
c92ad68
to
7c53455
Compare
clippy
26a7455
to
7cef5ee
Compare
7c53455
to
8c30c41
Compare
8c30c41
to
99aadf1
Compare
Overview
Adds a force deployment of the
create2deployer
contract in the superchain registry upon the Canyon transition.Reference: https://github.com/ethereum-optimism/op-geth/blob/cf19c1e39c326a806df1096c45e3f2fbcd5ca00c/consensus/misc/create2deployer.go