From 1d402a3cedf7680b886fb07b7fc5de88b1523cb6 Mon Sep 17 00:00:00 2001 From: Weixie Cui Date: Tue, 19 May 2026 20:00:00 +0800 Subject: [PATCH] internal/ethapi: fix reject equal-timestamp --- internal/ethapi/simulate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/simulate.go b/internal/ethapi/simulate.go index fa2ff2c32b..ad1655ee73 100644 --- a/internal/ethapi/simulate.go +++ b/internal/ethapi/simulate.go @@ -513,7 +513,7 @@ func (sim *simulator) sanitizeChain(blocks []simBlock) ([]simBlock, error) { block.BlockOverrides.Time = (*hexutil.Uint64)(&t) } else { t = uint64(*block.BlockOverrides.Time) - if t <= prevTimestamp { + if t < prevTimestamp { return nil, &invalidBlockTimestampError{fmt.Sprintf("block timestamps must be in order: %d <= %d", t, prevTimestamp)} } }