go-ethereum/cmd
cuiweixie 8837035b57 cmd/geth: propagate import error when --nocompaction is set
importChain records the first import failure in importErr, logs it, and
returns it at the end of the function so that "geth import" exits with a
non-zero status on failure. However, the --nocompaction early return
returned nil instead of importErr, so an import that failed while that
flag was set was reported as success (exit code 0).

This silently masked import failures from any script or CI step that
relies on the exit code. Return importErr from the early-return path as
well, matching the normal (compacting) path.
2026-06-11 20:00:00 +08:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen cmd/abigen: respect --v2=false (#34943) 2026-05-12 09:02:40 -04:00
blsync beacon/blsync: add checkpoint import/export file feature (#31469) 2025-04-03 16:04:11 +02:00
devp2p all: fix all typos, as reported by crates-ci/typos (#35008) 2026-06-10 18:50:51 +02:00
era internal/era: update to latest ere spec (#34896) 2026-06-03 11:52:10 +02:00
ethkey cmd: fix some typos in readmes (#29405) 2024-04-11 14:06:49 +03:00
evm trie/bintrie: record inserted leaves for t8n (#34843) 2026-05-28 17:06:47 +02:00
fetchpayload cmd/fetchpayload: add payload-building utility (#33919) 2026-03-11 16:18:42 +01:00
geth cmd/geth: propagate import error when --nocompaction is set 2026-06-11 20:00:00 +08:00
keeper core/state/snapshot: snapshot generation shutdown race condition (#33540) 2026-06-04 21:22:58 -05:00
rlpdump build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
utils cmd/utils: validates trimmed string but parses the untrimmed one (#35116) 2026-06-08 13:25:32 -05:00
workload core/history: refactor pruning configuration (#34036) 2026-03-18 13:54:29 +01:00