Skip to content

Commit

Permalink
Merge pull request #24 from bobanetwork/add-boba-devnet
Browse files Browse the repository at this point in the history
Add Boba Devnet
  • Loading branch information
boyuan-chen authored Aug 27, 2024
2 parents 8df002c + 06ade65 commit 4bff0d8
Show file tree
Hide file tree
Showing 17 changed files with 243 additions and 134 deletions.
4 changes: 0 additions & 4 deletions add-chain/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ func ConstructChainConfig(
chainConfig.StandardChainCandidate = standardChainCandidate
chainConfig.SuperchainTime = nil

if jsonConfig.RegolithTime != nil {
chainConfig.RegolithTime = jsonConfig.RegolithTime
}

fmt.Printf("Rollup config successfully constructed\n")
return chainConfig, nil
}
Expand Down
13 changes: 13 additions & 0 deletions bindings/rust-bindings/etc/chainList.toml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,19 @@
type = "L2"
chain = "sepolia-dev-0"

[[chains]]
name = "Boba Devnet"
identifier = "sepolia-dev-0/boba"
chain_id = 288882
rpc = ["https://devnet.boba.network"]
explorers = [""]
superchain_level = 1
data_availability_type = "eth-da"
gas_paying_token = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
[chains.parent]
type = "L2"
chain = "sepolia-dev-0"

[[chains]]
name = "OP Labs Sepolia devnet 0"
identifier = "sepolia-dev-0/oplabs-devnet-0"
Expand Down
254 changes: 130 additions & 124 deletions bindings/rust-bindings/etc/configs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,75 @@
# DO NOT EDIT - THIS FILE IS AUTOGENERATED #
##############################################

[[superchains]]
name = "bnb-testnet"
[superchains.config]
name = "BNB Testnet"
protocol_versions_addr = "0xEeDa515370b2A60B64Ecf35754bB5ff2C781e0be"
superchain_config_addr = "0xf999bc2fE006A5A8c2E6Aa35C63eD0adf731E6de"
[superchains.config.l1]
chain_id = 97
public_rpc = "https://bsc-testnet.public.blastapi.io"
explorer = "https://testnet.bscscan.com"

[[superchains.chains]]
name = "Boba BNB Testnet"
chain_id = 9728
public_rpc = "https://testnet.bnb.boba.network"
sequencer_rpc = "https://testnet.bnb.boba.network"
explorer = "https://testnet.bnb.bobascan.com"
superchain_level = 1
batch_inbox_addr = "0xfFf0000000000000000000000000000000009728"
regolith_time = 1718920167
canyon_time = 1718920167
delta_time = 1718920167
ecotone_time = 1718920168
fjord_time = 1722297600
block_time = 2
seq_window_size = 3600
max_sequencer_drift = 0
data_availability_type = "eth-da"
gas_paying_token = "0x875cD11fDf085e0E11B0EE6b814b6d0b38fA554C"
[superchains.chains.genesis]
l2_time = 1718920167
[superchains.chains.genesis.l1]
hash = "0x87063262e607919b1879aeca6a6652d2d601326518a58a0f85245c05b14f8666"
number = 41400663
[superchains.chains.genesis.l2]
hash = "0x293763444b022de43fba94e90b95936ea0c360c02443379427c2f7b7fb21fe7e"
number = 675077
[superchains.chains.genesis.system_config]
batcherAddress = "0xfCdd863D1D21f609f0C0737D07634B0B146EF266"
overhead = "0x0000000000000000000000000000000000000000000000000000000000000834"
scalar = "0x00000000000000000000000000000000000000000000000000000000000f4240"
gasLimit = 30000000
[superchains.chains.addresses]
SystemConfigOwner = "0xd3EdFbD01829c5A97B94B20F82DC17088Cc00031"
ProxyAdminOwner = "0xd3EdFbD01829c5A97B94B20F82DC17088Cc00031"
Guardian = "0xd3EdFbD01829c5A97B94B20F82DC17088Cc00031"
Challenger = "0xd3EdFbD01829c5A97B94B20F82DC17088Cc00031"
Proposer = "0xd0D2Cb0D7D1ab3D049B7bc1a928C66D83e68Ab21"
UnsafeBlockSigner = "0x747a375E6bea0735FC184a3A8FA0520435404347"
BatchSubmitter = "0xfCdd863D1D21f609f0C0737D07634B0B146EF266"
AddressManager = "0xAee1fb3f4353a9060aEC3943fE932b6Efe35CdAa"
L1CrossDomainMessengerProxy = "0x53aD38aE4a63Fe33a86E011F7AF4d3fDe3daD145"
L1ERC721BridgeProxy = "0x0a67b7638E5B3C32704aed03b3423a4cC1153887"
L1StandardBridgeProxy = "0xBf0939120b4F5E3196b9E12cAC291e03dD058e9a"
L2OutputOracleProxy = "0xD518C4883AdFBfd7501890e84B4fdA0357B0C73A"
OptimismMintableERC20FactoryProxy = "0x0124836C6DDD44E345dd291A68Ec521a8a66f398"
OptimismPortalProxy = "0xF48d08721D99E16D22Cc704991c2Ad064320aD5e"
SystemConfigProxy = "0x5e0Aa53122C29128FD1399998f7928F9BC603B27"
ProxyAdmin = "0xa6610FD227908329Ae473f10520e8A06EB9d2956"
SuperchainConfig = "0xf999bc2fE006A5A8c2E6Aa35C63eD0adf731E6de"
AnchorStateRegistryProxy = "0x0000000000000000000000000000000000000000"
DelayedWETHProxy = "0x0000000000000000000000000000000000000000"
DisputeGameFactoryProxy = "0x0000000000000000000000000000000000000000"
FaultDisputeGame = "0x0000000000000000000000000000000000000000"
MIPS = "0x0000000000000000000000000000000000000000"
PermissionedDisputeGame = "0x0000000000000000000000000000000000000000"
PreimageOracle = "0x0000000000000000000000000000000000000000"
DAChallengeAddress = "0x0000000000000000000000000000000000000000"

[[superchains]]
name = "mainnet"
[superchains.config]
Expand Down Expand Up @@ -82,8 +151,10 @@
canyon_time = 1713302879
delta_time = 1713302879
ecotone_time = 1713302880
fjord_time = 1725951600
block_time = 2
seq_window_size = 3600
max_sequencer_drift = 0
data_availability_type = "eth-da"
[superchains.chains.genesis]
l2_time = 1713302879
Expand Down Expand Up @@ -582,74 +653,6 @@
PreimageOracle = "0x0000000000000000000000000000000000000000"
DAChallengeAddress = "0x0000000000000000000000000000000000000000"

[[superchains]]
name = "bnb-testnet"
[superchains.config]
name = "BNB Testnet"
protocol_versions_addr = "0xEeDa515370b2A60B64Ecf35754bB5ff2C781e0be"
superchain_config_addr = "0xf999bc2fE006A5A8c2E6Aa35C63eD0adf731E6de"
[superchains.config.l1]
chain_id = 97
public_rpc = "https://bsc-testnet.public.blastapi.io"
explorer = "https://testnet.bscscan.com"

[[superchains.chains]]
name = "Boba BNB Testnet"
chain_id = 9728
public_rpc = "https://testnet.bnb.boba.network"
sequencer_rpc = "https://testnet.bnb.boba.network"
explorer = "https://testnet.bnb.bobascan.com"
superchain_level = 1
batch_inbox_addr = "0xfFf0000000000000000000000000000000009728"
regolith_time = 1718920167
canyon_time = 1718920167
delta_time = 1718920167
ecotone_time = 1718920168
fjord_time = 1722297600
block_time = 2
seq_window_size = 3600
data_availability_type = "eth-da"
gas_paying_token = "0x875cD11fDf085e0E11B0EE6b814b6d0b38fA554C"
[superchains.chains.genesis]
l2_time = 1718920167
[superchains.chains.genesis.l1]
hash = "0x87063262e607919b1879aeca6a6652d2d601326518a58a0f85245c05b14f8666"
number = 41400663
[superchains.chains.genesis.l2]
hash = "0x293763444b022de43fba94e90b95936ea0c360c02443379427c2f7b7fb21fe7e"
number = 675077
[superchains.chains.genesis.system_config]
batcherAddress = "0xfCdd863D1D21f609f0C0737D07634B0B146EF266"
overhead = "0x0000000000000000000000000000000000000000000000000000000000000834"
scalar = "0x00000000000000000000000000000000000000000000000000000000000f4240"
gasLimit = 30000000
[superchains.chains.addresses]
SystemConfigOwner = "0xd3EdFbD01829c5A97B94B20F82DC17088Cc00031"
ProxyAdminOwner = "0xd3EdFbD01829c5A97B94B20F82DC17088Cc00031"
Guardian = "0xd3EdFbD01829c5A97B94B20F82DC17088Cc00031"
Challenger = "0xd3EdFbD01829c5A97B94B20F82DC17088Cc00031"
Proposer = "0xd0D2Cb0D7D1ab3D049B7bc1a928C66D83e68Ab21"
UnsafeBlockSigner = "0x747a375E6bea0735FC184a3A8FA0520435404347"
BatchSubmitter = "0xfCdd863D1D21f609f0C0737D07634B0B146EF266"
AddressManager = "0xAee1fb3f4353a9060aEC3943fE932b6Efe35CdAa"
L1CrossDomainMessengerProxy = "0x53aD38aE4a63Fe33a86E011F7AF4d3fDe3daD145"
L1ERC721BridgeProxy = "0x0a67b7638E5B3C32704aed03b3423a4cC1153887"
L1StandardBridgeProxy = "0xBf0939120b4F5E3196b9E12cAC291e03dD058e9a"
L2OutputOracleProxy = "0xD518C4883AdFBfd7501890e84B4fdA0357B0C73A"
OptimismMintableERC20FactoryProxy = "0x0124836C6DDD44E345dd291A68Ec521a8a66f398"
OptimismPortalProxy = "0xF48d08721D99E16D22Cc704991c2Ad064320aD5e"
SystemConfigProxy = "0x5e0Aa53122C29128FD1399998f7928F9BC603B27"
ProxyAdmin = "0xa6610FD227908329Ae473f10520e8A06EB9d2956"
SuperchainConfig = "0xf999bc2fE006A5A8c2E6Aa35C63eD0adf731E6de"
AnchorStateRegistryProxy = "0x0000000000000000000000000000000000000000"
DelayedWETHProxy = "0x0000000000000000000000000000000000000000"
DisputeGameFactoryProxy = "0x0000000000000000000000000000000000000000"
FaultDisputeGame = "0x0000000000000000000000000000000000000000"
MIPS = "0x0000000000000000000000000000000000000000"
PermissionedDisputeGame = "0x0000000000000000000000000000000000000000"
PreimageOracle = "0x0000000000000000000000000000000000000000"
DAChallengeAddress = "0x0000000000000000000000000000000000000000"

[[superchains]]
name = "sepolia"
[superchains.config]
Expand Down Expand Up @@ -846,6 +849,7 @@
fjord_time = 1722297600
block_time = 2
seq_window_size = 3600
max_sequencer_drift = 0
data_availability_type = "eth-da"
[superchains.chains.genesis]
l2_time = 1705600788
Expand Down Expand Up @@ -887,62 +891,6 @@
PreimageOracle = "0x0000000000000000000000000000000000000000"
DAChallengeAddress = "0x0000000000000000000000000000000000000000"

[[superchains.chains]]
name = "Sepolia PGN (Public Goods Network)"
chain_id = 58008
public_rpc = "https://sepolia.publicgoods.network"
sequencer_rpc = "https://sepolia.publicgoods.network"
explorer = "https://explorer.sepolia.publicgoods.network"
superchain_level = 1
superchain_time = 0
batch_inbox_addr = "0x454A2A86132C937AD4eFc8721f1b85418f92cbCe"
canyon_time = 1699981200
delta_time = 1703203200
ecotone_time = 1708534800
fjord_time = 1716998400
block_time = 2
seq_window_size = 3600
data_availability_type = "eth-da"
[superchains.chains.genesis]
l2_time = 1685727972
[superchains.chains.genesis.l1]
hash = "0x41dc2afe8963b5ca8e1c7457ffc356acb4366c6fef6bec353b1463245f02cd8b"
number = 3610357
[superchains.chains.genesis.l2]
hash = "0x1d2ad9a8139d33161b1915698d2ae94019fd0817f2113198b6cb568110fa16ad"
number = 0
[superchains.chains.genesis.system_config]
batcherAddress = "0x7224e05E6cF6E07aFBE1eFa09a3fA23A637DD485"
overhead = "0x0000000000000000000000000000000000000000000000000000000000000834"
scalar = "0x00000000000000000000000000000000000000000000000000000000000f4240"
gasLimit = 30000000
[superchains.chains.addresses]
SystemConfigOwner = "0x23BA22Dd7923F3a3f2495bB32a6f3c9b9CD1EC6C"
ProxyAdminOwner = "0x23BA22Dd7923F3a3f2495bB32a6f3c9b9CD1EC6C"
Guardian = "0x45eFFbD799Ab49122eeEAB75B78D9C56A187F9A7"
Challenger = "0x69F0FFc19504B57e9AE4B6D7694d028c3CD876F8"
Proposer = "0xD457799C5ba870D609f21048c67a9b11aC611BF0"
UnsafeBlockSigner = "0x91Bf8996f15B128FDDC80e170FD1aA2C52659A4e"
BatchSubmitter = "0x7224e05E6cF6E07aFBE1eFa09a3fA23A637DD485"
AddressManager = "0x0Ad91488288BBe60ff38258785568A6D1EB3B983"
L1CrossDomainMessengerProxy = "0x97f3558Ce48FE71B8CeFA5497708A49531D5A8E1"
L1ERC721BridgeProxy = "0xBA8397B6f255618D5985d0fB427D8c0496F3a5FA"
L1StandardBridgeProxy = "0xFaE6abCAF30D23e233AC7faF747F2fC3a5a6Bfa3"
L2OutputOracleProxy = "0xD5bAc3152ffC25318F848B3DD5dA6C85171BaEEe"
OptimismMintableERC20FactoryProxy = "0x0167EF3188FDaa2661e4530A4623Ee1aB4555683"
OptimismPortalProxy = "0xF04BdD5353Bb0EFF6CA60CfcC78594278eBfE179"
SystemConfigProxy = "0x4BCCC52151f0ad7C62D45Ce0aA77d9d8ffCE534e"
ProxyAdmin = "0x5f336973dabaD13409EA93416b8487D92769e457"
SuperchainConfig = "0x0000000000000000000000000000000000000000"
AnchorStateRegistryProxy = "0x0000000000000000000000000000000000000000"
DelayedWETHProxy = "0x0000000000000000000000000000000000000000"
DisputeGameFactoryProxy = "0x0000000000000000000000000000000000000000"
FaultDisputeGame = "0x0000000000000000000000000000000000000000"
MIPS = "0x0000000000000000000000000000000000000000"
PermissionedDisputeGame = "0x0000000000000000000000000000000000000000"
PreimageOracle = "0x0000000000000000000000000000000000000000"
DAChallengeAddress = "0x0000000000000000000000000000000000000000"

[[superchains.chains]]
name = "Base Sepolia Testnet"
chain_id = 84532
Expand Down Expand Up @@ -1130,6 +1078,64 @@
public_rpc = "https://ethereum-sepolia-rpc.publicnode.com"
explorer = "https://sepolia.etherscan.io"

[[superchains.chains]]
name = "Boba Devnet"
chain_id = 288882
public_rpc = "https://devnet.boba.network"
sequencer_rpc = "https://devnet.boba.network"
explorer = ""
superchain_level = 1
batch_inbox_addr = "0xfFF0000000000000000000000000000000288882"
regolith_time = 0
canyon_time = 1724692140
delta_time = 1724692140
ecotone_time = 1724692141
fjord_time = 1724692150
block_time = 2
seq_window_size = 3600
max_sequencer_drift = 600
data_availability_type = "eth-da"
gas_paying_token = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
[superchains.chains.genesis]
l2_time = 1724692140
[superchains.chains.genesis.l1]
hash = "0xb6404ecff691edd6895c474f4dfca5b3e27b92a19deabd80cbe05c75c1b4c924"
number = 6576100
[superchains.chains.genesis.l2]
hash = "0xe919706177d2c568ed21a4b443d421c8098b4e453a29bd432258fab3f7fe1d07"
number = 0
[superchains.chains.genesis.system_config]
batcherAddress = "0xe40d3fB61A6a9e16ffD17ae4Ed225dE00a4B16fd"
overhead = "0x0000000000000000000000000000000000000000000000000000000000000834"
scalar = "0x00000000000000000000000000000000000000000000000000000000000f4240"
gasLimit = 30000000
[superchains.chains.addresses]
SystemConfigOwner = "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c"
ProxyAdminOwner = "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c"
Guardian = "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c"
Challenger = "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c"
Proposer = "0x10AAf74A0735332b0fFB11935abA51F2A4170F91"
UnsafeBlockSigner = "0x9e43BFCbcb21fCcc1Dfb41a3DaB1ACfaE3C03834"
BatchSubmitter = "0xe40d3fB61A6a9e16ffD17ae4Ed225dE00a4B16fd"
AddressManager = "0x0000000000000000000000000000000000000000"
L1CrossDomainMessengerProxy = "0x0000000000000000000000000000000000000000"
L1ERC721BridgeProxy = "0x57B679c04EAe2A9cee67414511E4A9f5a9F674E3"
L1StandardBridgeProxy = "0x0000000000000000000000000000000000000000"
L2OutputOracleProxy = "0xcFf51852d3E96912ea1cC8C6F12D6c86b0B37B4F"
OptimismMintableERC20FactoryProxy = "0xd5C40568cB199cCc3bC6d4931742074225781686"
OptimismPortalProxy = "0xD00d5Cc5620697a31014E5594AABba590793836D"
SystemConfigProxy = "0xcc3c025036612B849340D6866eC0bd4d2d794a36"
ProxyAdmin = "0xd7D6C90d94156dBd1251a57c28c7336F8B464C66"
SuperchainConfig = "0x59230BEeaF4225B1E2C4ED391592c8962bb97ba4"
AnchorStateRegistryProxy = "0x0000000000000000000000000000000000000000"
DelayedWETHProxy = "0x0000000000000000000000000000000000000000"
DisputeGameFactoryProxy = "0x0000000000000000000000000000000000000000"
FaultDisputeGame = "0x0000000000000000000000000000000000000000"
MIPS = "0x0000000000000000000000000000000000000000"
PermissionedDisputeGame = "0x0000000000000000000000000000000000000000"
PreimageOracle = "0x0000000000000000000000000000000000000000"
DAChallengeAddress = "0x0000000000000000000000000000000000000000"

[[superchains.chains]]
name = "OP Labs Sepolia devnet 0"
chain_id = 11155421
Expand Down
22 changes: 20 additions & 2 deletions chainList.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
},
{
"name": "boba",
"name": "Boba Mainnet",
"identifier": "mainnet/boba",
"chainId": 288,
"rpc": [
Expand Down Expand Up @@ -223,7 +223,7 @@
}
},
{
"name": "boba",
"name": "Boba Sepolia Testnet",
"identifier": "sepolia/boba",
"chainId": 28882,
"rpc": [
Expand Down Expand Up @@ -324,6 +324,24 @@
"chain": "sepolia-dev-0"
}
},
{
"name": "Boba Devnet",
"identifier": "sepolia-dev-0/boba",
"chainId": 288882,
"rpc": [
"https://devnet.boba.network"
],
"explorers": [
""
],
"superchainLevel": 1,
"dataAvailabilityType": "eth-da",
"parent": {
"type": "L2",
"chain": "sepolia-dev-0"
},
"gasPayingToken": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
},
{
"name": "OP Labs Sepolia devnet 0",
"identifier": "sepolia-dev-0/oplabs-devnet-0",
Expand Down
Loading

0 comments on commit 4bff0d8

Please sign in to comment.