Skip to content

Commit

Permalink
feat(ctb): simplify XDM initialization (#3443)
Browse files Browse the repository at this point in the history
Simplifies XDM initialization by moving all input variables into the
constructor. This was the best I could do, we still need an initializer
because of the stuff that the base contract inherits. The primary
benefit of this change is that it means we never have to put any
parameters into the initializer, which means we can be very certain
about parameters before we perform the upgrade.
  • Loading branch information
smartcontracts authored Sep 16, 2022
1 parent 206f603 commit 8790156
Show file tree
Hide file tree
Showing 24 changed files with 113 additions and 96 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-bikes-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Simplifies the initialization function of the CrossDomainMessenger in Bedrock
2 changes: 1 addition & 1 deletion op-bindings/bindings/deployerwhitelist_more.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion op-bindings/bindings/gaspriceoracle_more.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion op-bindings/bindings/governancetoken_more.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion op-bindings/bindings/l1block_more.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8790156

Please sign in to comment.