mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 05:41:35 +00:00
The --bintrie.groupdepth CLI flag was defined and registered but never read by SetEthConfig(), which is the main config path for geth node startup. Only MakeChain() (used for import/export commands) read the flag. This caused geth to always use the default groupDepth=8 regardless of the CLI flag value. This resulted in a serialization format mismatch when state-actor generated databases with groupDepth != 8: state-actor wrote nodes with the requested groupDepth (e.g. 1), but geth always read/wrote them with groupDepth=8, causing "missing trie node" errors during block validation. The fix adds the flag read to SetEthConfig, matching the pattern used by all other trie configuration flags (StateHistory, TrienodeHistory, etc.). |
||
|---|---|---|
| .. | ||
| cmd.go | ||
| diskusage.go | ||
| diskusage_openbsd.go | ||
| diskusage_windows.go | ||
| export_test.go | ||
| flags.go | ||
| flags_legacy.go | ||
| flags_test.go | ||
| history_test.go | ||
| prompt.go | ||