Commit 19f4554f authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #7435 from mdehoog/michael/base-sepolia

Add Base sepolia constants
parents cf7b329a f9ea62f9
......@@ -89,6 +89,22 @@ var Presets = map[int]Preset{
L1StartingHeight: 8410981,
},
},
84532: {
Name: "Base Sepolia",
ChainConfig: ChainConfig{
Preset: 84532,
L1Contracts: L1Contracts{
AddressManager: common.HexToAddress("0x709c2B8ef4A9feFc629A8a2C1AF424Dc5BD6ad1B"),
SystemConfigProxy: common.HexToAddress("0xf272670eb55e895584501d564AfEB048bEd26194"),
OptimismPortalProxy: common.HexToAddress("0x49f53e41452C74589E85cA1677426Ba426459e85"),
L2OutputOracleProxy: common.HexToAddress("0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254"),
L1CrossDomainMessengerProxy: common.HexToAddress("0xC34855F4De64F1840e5686e64278da901e261f20"),
L1StandardBridgeProxy: common.HexToAddress("0xfd0Bf71F60660E2f608ed56e1659C450eB113120"),
L1ERC721BridgeProxy: common.HexToAddress("0x21eFD066e581FA55Ef105170Cc04d74386a09190"),
},
L1StartingHeight: 4370868,
},
},
7777777: {
Name: "Zora",
ChainConfig: ChainConfig{
......
......@@ -31,6 +31,7 @@ export enum L2ChainID {
OPTIMISM_HARDHAT_DEVNET = 17,
OPTIMISM_BEDROCK_ALPHA_TESTNET = 28528,
BASE_GOERLI = 84531,
BASE_SEPOLIA = 84532,
BASE_MAINNET = 8453,
ZORA_GOERLI = 999,
ZORA_MAINNET = 7777777,
......
......@@ -83,8 +83,9 @@ export const DEPOSIT_CONFIRMATION_BLOCKS: {
[L2ChainID.OPTIMISM_HARDHAT_LOCAL]: 2 as const,
[L2ChainID.OPTIMISM_HARDHAT_DEVNET]: 2 as const,
[L2ChainID.OPTIMISM_BEDROCK_ALPHA_TESTNET]: 12 as const,
[L2ChainID.BASE_GOERLI]: 12 as const,
[L2ChainID.BASE_MAINNET]: 50 as const,
[L2ChainID.BASE_GOERLI]: 25 as const,
[L2ChainID.BASE_SEPOLIA]: 25 as const,
[L2ChainID.BASE_MAINNET]: 10 as const,
[L2ChainID.ZORA_GOERLI]: 12 as const,
[L2ChainID.ZORA_MAINNET]: 50 as const,
}
......@@ -220,6 +221,22 @@ export const CONTRACT_ADDRESSES: {
},
l2: DEFAULT_L2_CONTRACT_ADDRESSES,
},
[L2ChainID.BASE_SEPOLIA]: {
l1: {
AddressManager: '0x709c2B8ef4A9feFc629A8a2C1AF424Dc5BD6ad1B' as const,
L1CrossDomainMessenger:
'0xC34855F4De64F1840e5686e64278da901e261f20' as const,
L1StandardBridge: '0xfd0Bf71F60660E2f608ed56e1659C450eB113120' as const,
StateCommitmentChain:
'0x0000000000000000000000000000000000000000' as const,
CanonicalTransactionChain:
'0x0000000000000000000000000000000000000000' as const,
BondManager: '0x0000000000000000000000000000000000000000' as const,
OptimismPortal: '0x49f53e41452C74589E85cA1677426Ba426459e85' as const,
L2OutputOracle: '0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254' as const,
},
l2: DEFAULT_L2_CONTRACT_ADDRESSES,
},
[L2ChainID.BASE_MAINNET]: {
l1: {
AddressManager: '0x8EfB6B5c4767B09Dc9AA6Af4eAA89F749522BaE2' as const,
......
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