Skip to content

Commit

Permalink
Add regolith override time for base goerli devnet (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog authored Oct 27, 2023
1 parent 94fbbd0 commit e417358
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 9 additions & 6 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ var (
)

const (
OPMainnetChainID = 10
OPGoerliChainID = 420
BaseMainnetChainID = 8453
BaseGoerliChainID = 84531
devnetChainID = 997
chaosnetChainID = 888
OPMainnetChainID = 10
OPGoerliChainID = 420
BaseMainnetChainID = 8453
BaseGoerliChainID = 84531
baseGoerliDevnetChainID = 11763071
devnetChainID = 997
chaosnetChainID = 888
)

// OP Stack chain config
Expand All @@ -46,6 +47,8 @@ var (
OptimismGoerliRegolithTime = uint64(1679079600)
// May 4, 2023 @ 5:00:00 pm UTC
BaseGoerliRegolithTime = uint64(1683219600)
// Apr 21, 2023 @ 6:30:00 pm UTC
baseGoerliDevnetRegolithTime = uint64(1682101800)
// March 5, 2023 @ 2:48:00 am UTC
devnetRegolithTime = uint64(1677984480)
// August 16, 2023 @ 3:34:22 am UTC
Expand Down
2 changes: 2 additions & 0 deletions params/superchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ func LoadOPStackChainConfig(chainID uint64) (*ChainConfig, error) {
out.BedrockBlock = big.NewInt(105235063)
case BaseGoerliChainID:
out.RegolithTime = &BaseGoerliRegolithTime
case baseGoerliDevnetChainID:
out.RegolithTime = &baseGoerliDevnetRegolithTime
case devnetChainID:
out.RegolithTime = &devnetRegolithTime
out.Optimism.EIP1559Elasticity = 10
Expand Down

0 comments on commit e417358

Please sign in to comment.