(name: "cmd", abbr: "", desc: "", typename: "StartupCommand", idx: 5, hasDefault: true,
kind: Discriminator, isCommand: true, isImplicitlySelectable: false, subCmds: [
(name: "noCommand", opts: [], shortHelpString: ""),
(name: "cmdFullStateTransition", opts: [], shortHelpString: ""),
(name: "cmdSlotProcessing", opts: [], shortHelpString: ""),
(name: "cmdBlockProcessing", opts: [], shortHelpString: ""),
(name: "cmdEpochProcessing", opts: [], shortHelpString: "")], defaultSubCmd: 0)
(name: "cmd", abbr: "", desc: "", typename: "StartupCommand", idx: 5, hasDefault: true,
kind: Discriminator, isCommand: true, isImplicitlySelectable: false, subCmds: [
(name: "noCommand", opts: [], shortHelpString: ""),
(name: "cmdFullStateTransition", opts: [], shortHelpString: ""), (
name: "cmdSlotProcessing", opts: [(name: "num-slots", abbr: "s", desc: "The number of slots the pre-state will be advanced by",
typename: "uint64", idx: 6, hasDefault: true,
kind: CliSwitch, isCommand: false,
isImplicitlySelectable: false, subCmds: [],
defaultSubCmd: 0)], shortHelpString: ""),
(name: "cmdBlockProcessing", opts: [], shortHelpString: ""),
(name: "cmdEpochProcessing", opts: [], shortHelpString: "")], defaultSubCmd: 0)
(name: "cmd", abbr: "", desc: "", typename: "StartupCommand", idx: 5, hasDefault: true,
kind: Discriminator, isCommand: true, isImplicitlySelectable: false, subCmds: [
(name: "noCommand", opts: [], shortHelpString: ""),
(name: "cmdFullStateTransition", opts: [], shortHelpString: ""), (
name: "cmdSlotProcessing", opts: [(name: "num-slots", abbr: "s", desc: "The number of slots the pre-state will be advanced by",
typename: "uint64", idx: 6, hasDefault: true,
kind: CliSwitch, isCommand: false,
isImplicitlySelectable: false, subCmds: [],
defaultSubCmd: 0)], shortHelpString: ""), (
name: "cmdBlockProcessing", opts: [(name: "process-blocks", abbr: "",
desc: "block transitions",
typename: "BlockProcessingCat", idx: 7,
hasDefault: false, kind: Discriminator,
isCommand: false,
isImplicitlySelectable: true, subCmds: [
(name: "catBlockHeader", opts: [], shortHelpString: ""),
(name: "catRANDAO", opts: [], shortHelpString: ""),
(name: "catEth1Data", opts: [], shortHelpString: ""),
(name: "catProposerSlashings", opts: [], shortHelpString: ""),
(name: "catAttesterSlashings", opts: [], shortHelpString: ""),
(name: "catAttestations", opts: [], shortHelpString: ""),
(name: "catDeposits", opts: [], shortHelpString: ""),
(name: "catVoluntaryExits", opts: [], shortHelpString: "")], defaultSubCmd: -1)],
shortHelpString: ""),
(name: "cmdEpochProcessing", opts: [], shortHelpString: "")], defaultSubCmd: 0)
(name: "process-blocks", abbr: "", desc: "block transitions",
typename: "BlockProcessingCat", idx: 7, hasDefault: false, kind: Discriminator,
isCommand: false, isImplicitlySelectable: true, subCmds: [
(name: "catBlockHeader", opts: [], shortHelpString: ""),
(name: "catRANDAO", opts: [], shortHelpString: ""),
(name: "catEth1Data", opts: [], shortHelpString: ""),
(name: "catProposerSlashings", opts: [], shortHelpString: ""),
(name: "catAttesterSlashings", opts: [], shortHelpString: ""),
(name: "catAttestations", opts: [], shortHelpString: ""),
(name: "catDeposits", opts: [], shortHelpString: ""),
(name: "catVoluntaryExits", opts: [], shortHelpString: "")], defaultSubCmd: -1)
Test case
I can't rename
cmdBlockProcessingto--process-blocksotherwise the compiler returnsError: Unable to find blockProcessingCat.Tracing findOpt gives the following:
So maybe a
fieldNameororiginalNameneed to be kept around.