From ea2e32539e1da0bdbf46db550598659d4f14be00 Mon Sep 17 00:00:00 2001 From: pengqima Date: Thu, 16 Jul 2026 15:27:24 +0800 Subject: [PATCH] chore: fix based sequencer terminology in state comments Signed-off-by: pengqima --- types/state.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/state.go b/types/state.go index 7e1ed67633..565e3d04d7 100644 --- a/types/state.go +++ b/types/state.go @@ -136,9 +136,9 @@ func (s State) AssertValidSequence(header *SignedHeader) error { return fmt.Errorf("%w - got: %v, last: %v", ErrInvalidBlockTime, headerTime, s.LastBlockTime) } - // Trick to support the switch from a base sequencer to a normal syncing node. - // Based sequencers do not sign ehaders, meaning the last header hash will be different from the - // newly derived header hash when a base sequencer have switched to a syncing node + // Trick to support the switch from a based sequencer to a normal syncing node. + // Based sequencers do not sign headers, meaning the last header hash will be different from the + // newly derived header hash when a based sequencer has switched to a syncing node. if !bytes.Equal(header.LastHeaderHash, s.LastHeaderHash) { if lastHeaderHashErrCount == 1 { return fmt.Errorf("%w - got: %x, want: %x", ErrInvalidLastHeaderHash, header.LastHeaderHash, s.LastHeaderHash)