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 (21,913 forks)batch import
help wantedtype:bug

Repository metrics

Stars
 (51,042 stars)
PR merge metrics
 (Avg merge 21d 10h) (82 merged PRs in 30d)

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