cmd/geth: add network flags to download-era

This commit is contained in:
Felix Lange 2025-05-14 10:55:28 +02:00
parent 05ddfe6dce
commit b9bd298fba

View file

@ -211,12 +211,16 @@ helps reduce storage requirements for nodes that don't need full historical data
Name: "download-era", Name: "download-era",
Usage: "Fetches era1 files (pre-merge history) from an HTTP endpoint", Usage: "Fetches era1 files (pre-merge history) from an HTTP endpoint",
ArgsUsage: "", ArgsUsage: "",
Flags: slices.Concat(utils.DatabaseFlags, []cli.Flag{ Flags: slices.Concat(
utils.DatabaseFlags,
utils.NetworkFlags,
[]cli.Flag{
eraBlockFlag, eraBlockFlag,
eraEpochFlag, eraEpochFlag,
eraAllFlag, eraAllFlag,
eraServerFlag, eraServerFlag,
}), },
),
} }
) )