ethereum/go-ethereum

Geth should handle genesis block with default syncmode

Open

#28,222 opened on Sep 28, 2023

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Go (51,042 stars) (21,913 forks)batch import
help wantedtype:bug

Description

System information

Geth version: v1.13.2

Expected behaviour

When running without specifying --syncmode=full (i.e. the default i.e. snap sync) geth should transition to full sync automatically for pre-genesis / genesis blocks.

Actual behaviour

Geth doesn't import the 1st block:

Ignoring payload while snap syncing number=1

Steps to reproduce the behaviour

Run geth without --syncmode=full on a new network

Contributor guide

Geth should handle genesis block with default syncmode · ethereum/go-ethereum#28222 | Good First Issue