Commit a83abe4b authored by Will Cory's avatar Will Cory

chore: Add comment to keep in sync with op bindings

parent bdebac04
......@@ -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"
......
......@@ -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: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment