Skip to content

Commit

Permalink
Merge pull request #246 from bobanetwork/add-granite-hardfork
Browse files Browse the repository at this point in the history
Add Granite hardfork on boba devnet
  • Loading branch information
boyuan-chen committed Aug 28, 2024
2 parents 9f69f3d + b0a4cd9 commit 25784d1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ replace github.com/ethereum/go-ethereum v1.14.7 => github.com/ethereum-optimism/

//replace github.com/ethereum/go-ethereum v1.13.9 => ../op-geth

replace github.com/ethereum-optimism/superchain-registry/superchain => github.com/bobanetwork/superchain-registry/superchain v0.0.0-20240827163850-4bff0d8a9936
replace github.com/ethereum-optimism/superchain-registry/superchain => github.com/bobanetwork/superchain-registry/superchain v0.0.0-20240828175039-e5ea9ca832a9

// This release keeps breaking Go builds. Stop that.
exclude github.com/kataras/iris/v12 v12.2.0-beta5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r
github.com/bits-and-blooms/bitset v1.10.0 h1:ePXTeiPEazB5+opbv5fr8umg2R/1NlzgDsyepwsSr88=
github.com/bits-and-blooms/bitset v1.10.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c=
github.com/bobanetwork/superchain-registry/superchain v0.0.0-20240827163850-4bff0d8a9936 h1:4np1Iuf9RWW/P1SbiB/tx9lYsi61x5BSd95BPLFlKFI=
github.com/bobanetwork/superchain-registry/superchain v0.0.0-20240827163850-4bff0d8a9936/go.mod h1:zy9f3TNPS7pwW4msMitF83fp0Wf452tZ6+Fg6d4JyXM=
github.com/bobanetwork/superchain-registry/superchain v0.0.0-20240828175039-e5ea9ca832a9 h1:VLFGNG3KH3Heu8DpDt/Hj411ZnSWG05rZzYVmX4KcvY=
github.com/bobanetwork/superchain-registry/superchain v0.0.0-20240828175039-e5ea9ca832a9/go.mod h1:zy9f3TNPS7pwW4msMitF83fp0Wf452tZ6+Fg6d4JyXM=
github.com/boltdb/bolt v1.3.1 h1:JQmyP4ZBrce+ZQu0dY660FMfatumYDLun9hBCUVIkF4=
github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps=
github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g=
Expand Down
9 changes: 5 additions & 4 deletions op-node/chaincfg/chains_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,6 @@ var bobaBnbTestnetCfg = rollup.Config{
ProtocolVersionsAddress: common.HexToAddress("0x0000000000000000000000000000000000000000"),
}

func u64Ptr(v uint64) *uint64 {
return &v
}

var bobaDev0Cfg = rollup.Config{
Genesis: rollup.Genesis{
L1: eth.BlockID{
Expand Down Expand Up @@ -293,5 +289,10 @@ var bobaDev0Cfg = rollup.Config{
DeltaTime: u64Ptr(1724692140),
EcotoneTime: u64Ptr(1724692141),
FjordTime: u64Ptr(1724692150),
GraniteTime: u64Ptr(1724914800),
ProtocolVersionsAddress: common.HexToAddress("0x252CbE9517F731C618961D890D534183822dcC8d"),
}

func u64Ptr(v uint64) *uint64 {
return &v
}

0 comments on commit 25784d1

Please sign in to comment.