Skip to content

Commit

Permalink
chore: Add comment to keep in sync with op bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Cory authored and Will Cory committed Jul 14, 2023
1 parent c1eec7e commit 089aea6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions op-bindings/predeploys/addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ package predeploys

import "github.com/ethereum/go-ethereum/common"

// TODO - we should get a single toml yaml or json file source of truth in @eth-optimism/bedrock package
// This needs to be kept in sync with @eth-optimism/contracts-ts/wagmi.config.ts which also specifies this
// To improve robustness and maintainability contracts-bedrock should export all addresses
const (
L2ToL1MessagePasser = "0x4200000000000000000000000000000000000016"
DeployerWhitelist = "0x4200000000000000000000000000000000000002"
Expand Down
1 change: 1 addition & 0 deletions packages/contracts-ts/wagmi.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { isDeepStrictEqual } from 'util'
/**
* Predeployed contract addresses
* In future it would be nice to have a json file in contracts bedrock be generated as source of truth
* Keep this in sync with op-bindings/predeploys/addresses.go in meantime
*/
const predeployContracts = {
LegacyMessagePasser: {
Expand Down

0 comments on commit 089aea6

Please sign in to comment.