From 5adeb1670d23fdd21e8a0a85f0c7d552fed75d9b Mon Sep 17 00:00:00 2001 From: jsvisa Date: Sat, 1 Mar 2025 03:20:30 +0000 Subject: [PATCH] cmd/geth: add debug flags for import chain Signed-off-by: jsvisa --- cmd/geth/chaincmd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go index bbadb1cc19..8ad12d7720 100644 --- a/cmd/geth/chaincmd.go +++ b/cmd/geth/chaincmd.go @@ -36,6 +36,7 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethdb" + "github.com/ethereum/go-ethereum/internal/debug" "github.com/ethereum/go-ethereum/internal/era" "github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/params" @@ -101,7 +102,7 @@ if one is set. Otherwise it prints the genesis from the datadir.`, utils.VMTraceJsonConfigFlag, utils.TransactionHistoryFlag, utils.StateHistoryFlag, - }, utils.DatabaseFlags), + }, utils.DatabaseFlags, debug.Flags), Description: ` The import command imports blocks from an RLP-encoded form. The form can be one file with several RLP-encoded blocks, or several files can be used.