diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index 5dc0deb324..71e92e315d 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -911,7 +911,11 @@ func (api *ConsensusAPI) newPayload(ctx context.Context, params engine.Executabl // into the database directly will conflict with the assumptions of snap sync // that it has an empty db that it can fill itself. if api.eth.Downloader().ConfigSyncMode() == ethconfig.SnapSync { - return api.delayPayloadImport(block), nil + // If the client is started at genesis of a test network with snap sync + // enabled, just try to import the block since there is nothing to sync. + if block.NumberU64() != 1 { + return api.delayPayloadImport(block), nil + } } if !api.eth.BlockChain().HasBlockAndState(block.ParentHash(), block.NumberU64()-1) { api.remoteBlocks.put(block.Hash(), block.Header())