diff --git a/sequencer/sequencer.go b/sequencer/sequencer.go index 92909e2946..3f57d9cc85 100644 --- a/sequencer/sequencer.go +++ b/sequencer/sequencer.go @@ -349,10 +349,10 @@ func (s *Sequencer) sendDataToStreamer(chainID uint64) { ImStateRoot: l2Transaction.ImStateRoot.Bytes(), } - // Clear the state root if the ForkID is >= ETROG + // Clear the state root if the ForkID is > ETROG // currently this is redundant as the current implementation of the sequencer // leaves the ImStateRoot empty - if l2Block.ForkID >= state.FORKID_ETROG { + if l2Block.ForkID > state.FORKID_ETROG { streamL2Transaction.ImStateRoot = common.Hash{}.Bytes() } diff --git a/state/datastream.go b/state/datastream.go index ecb211d6c2..236a69df43 100644 --- a/state/datastream.go +++ b/state/datastream.go @@ -590,8 +590,8 @@ func GenerateDataStreamFile(ctx context.Context, streamServer *datastreamer.Stre ImStateRoot: tx.StateRoot.Bytes(), } - // Clear the state root if the ForkID is >= ETROG - if l2Block.ForkID >= FORKID_ETROG { + // Clear the state root if the ForkID is > ETROG + if l2Block.ForkID > FORKID_ETROG { transaction.ImStateRoot = common.Hash{}.Bytes() }