Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Boba Mainnet holocene hardfork #15

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ require (
rsc.io/tmplfunc v0.0.3 // indirect
)

replace github.com/ethereum-optimism/superchain-registry/superchain => github.com/bobanetwork/superchain-registry/superchain v0.0.0-20241205210931-5e9b6db19ee3
replace github.com/ethereum-optimism/superchain-registry/superchain => github.com/bobanetwork/superchain-registry/superchain v0.0.0-20250107213715-cb3c5cb83e2e
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/bits-and-blooms/bitset v1.13.0 h1:bAQ9OPNFYbGHV6Nez0tmNI0RiEu7/hxlYJRUA0wFAVE=
github.com/bits-and-blooms/bitset v1.13.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/bobanetwork/superchain-registry/superchain v0.0.0-20241205210931-5e9b6db19ee3 h1:keQvcCoOu9AiB0oAiA0tVW8IrFKVeXuPJPq7uBLXNfs=
github.com/bobanetwork/superchain-registry/superchain v0.0.0-20241205210931-5e9b6db19ee3/go.mod h1:9feO8jcL5OZ1tvRjEfNAHz4Aggvd6373l+ZxmZZAyZs=
github.com/bobanetwork/superchain-registry/superchain v0.0.0-20250107213715-cb3c5cb83e2e h1:4oA6AvcG16s+ZPyv7mIxk+8XYcgIbCyyXLw7e9p5NRY=
github.com/bobanetwork/superchain-registry/superchain v0.0.0-20250107213715-cb3c5cb83e2e/go.mod h1:9feO8jcL5OZ1tvRjEfNAHz4Aggvd6373l+ZxmZZAyZs=
github.com/btcsuite/btcd/btcec/v2 v2.3.4 h1:3EJjcN70HCu/mwqlUsGK8GcNVyLVxFDlWurTXGPFfiQ=
github.com/btcsuite/btcd/btcec/v2 v2.3.4/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04=
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U=
Expand Down
8 changes: 3 additions & 5 deletions params/superchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ var bobaMainnetCfg = hardforkConfig{
EcotoneTime: uint64(1713302880),
FjordTime: uint64(1725951600),
GraniteTime: uint64(1729753200),
HoloceneTime: uint64(1738785600),
EIP1559Elasticity: 6,
EIP1559Denominator: 50,
EIP1559DenominatorCanyon: 250,
Expand Down Expand Up @@ -279,6 +280,7 @@ var opMainnetCfg = hardforkConfig{
EcotoneTime: uint64(1710374401),
FjordTime: uint64(1720627201),
GraniteTime: uint64(1726070401),
HoloceneTime: uint64(1736445601),
EIP1559Elasticity: 6,
EIP1559Denominator: 50,
EIP1559DenominatorCanyon: 250,
Expand Down Expand Up @@ -311,11 +313,7 @@ func TestChainConfigByOpStackChainName(t *testing.T) {
require.Equal(t, expectedHarhardforkCfg.EcotoneTime, *gotCfg.EcotoneTime)
require.Equal(t, expectedHarhardforkCfg.FjordTime, *gotCfg.FjordTime)
require.Equal(t, expectedHarhardforkCfg.GraniteTime, *gotCfg.GraniteTime)
if expectedHarhardforkCfg.HoloceneTime != 0 {
require.Equal(t, expectedHarhardforkCfg.HoloceneTime, *gotCfg.HoloceneTime)
} else {
require.Nil(t, gotCfg.HoloceneTime)
}
require.Equal(t, expectedHarhardforkCfg.HoloceneTime, *gotCfg.HoloceneTime)

// EIP-1559
require.Equal(t, expectedHarhardforkCfg.EIP1559Elasticity, gotCfg.Optimism.EIP1559Elasticity)
Expand Down