From e3cd999230e07e9d0f7d1d9d9266c5205dae2c79 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Wed, 14 Aug 2024 13:09:50 +0200 Subject: [PATCH] default timestamp bump 1 sec --- 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 537de64ad3..509989999b 100644 --- a/internal/ethapi/simulate.go +++ b/internal/ethapi/simulate.go @@ -344,7 +344,7 @@ func (sim *simulator) makeHeaders(blocks []simBlock) ([]*types.Header, error) { } overrides := block.BlockOverrides if overrides.Time == nil { - t := prevTimestamp + 12 + t := prevTimestamp + 1 overrides.Time = (*hexutil.Uint64)(&t) } else if time := (*uint64)(overrides.Time); *time <= prevTimestamp { return nil, &invalidBlockTimestampError{fmt.Sprintf("block timestamps must be in order: %d <= %d", *time, prevTimestamp)}