diff --git a/state/forkid.go b/state/forkid.go index 0db73fc996..ed035a53e1 100644 --- a/state/forkid.go +++ b/state/forkid.go @@ -17,6 +17,8 @@ const ( FORKID_ETROG = 7 // FORKID_ELDERBERRY is the fork id 8 FORKID_ELDERBERRY = 8 + // FORKID_9 is the fork id 9 + FORKID_9 = 9 ) // ForkIDInterval is a fork id interval diff --git a/synchronizer/actions/forksids.go b/synchronizer/actions/forksids.go index 58b8250376..1383ef98c5 100644 --- a/synchronizer/actions/forksids.go +++ b/synchronizer/actions/forksids.go @@ -12,6 +12,8 @@ const ( ForkIDEtrog = ForkIdType(7) //nolint:gomnd // ForkIDElderberry is the forkId for Elderberry ForkIDElderberry = ForkIdType(8) //nolint:gomnd + // ForkID9 is the forkId for 9 + ForkID9 = ForkIdType(9) //nolint:gomnd ) var ( @@ -20,7 +22,7 @@ var ( ForksIdAll = []ForkIdType{WildcardForkId} // ForksIdOnlyElderberry support only elderberry forkId - ForksIdOnlyElderberry = []ForkIdType{ForkIDElderberry} + ForksIdOnlyElderberry = []ForkIdType{ForkIDElderberry, ForkID9} // ForksIdOnlyEtrog support only etrog forkId ForksIdOnlyEtrog = []ForkIdType{ForkIDEtrog} diff --git a/synchronizer/synchronizer.go b/synchronizer/synchronizer.go index c90b95c797..afc3da324f 100644 --- a/synchronizer/synchronizer.go +++ b/synchronizer/synchronizer.go @@ -129,6 +129,7 @@ func NewSynchronizer( res.syncTrustedStateExecutor = l2_shared.NewSyncTrustedStateExecutorSelector(map[uint64]syncinterfaces.SyncTrustedStateExecutor{ uint64(state.FORKID_ETROG): syncTrustedStateEtrog, uint64(state.FORKID_ELDERBERRY): syncTrustedStateEtrog, + uint64(state.FORKID_9): syncTrustedStateEtrog, }, res.state) } var l1checkerL2Blocks *actions.CheckL2BlockHash