Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "execution-state-extract-payloadless", Short: "Extract a payloadless (V7) trie at a state commitment into a V7 root checkpoint", Long: `Extract the payloadless (V7) trie at a given state commitment and write it as a V7 root checkpoint. The trie is loaded from the WAL directory (--execution-state-dir), recovering in-memory state from the latest V7 checkpoint plus any newer WAL segments, exactly like the node does at startup. The trie whose root hash matches --state-commitment is written to --output-dir as a single-trie V7 root checkpoint ("` + bootstrap.FilenameWALRootCheckpoint + wal.V7FileSuffix + `"). With --use-wal-segment-number, the output file is instead named after the WAL segment the commitment was recovered from (e.g. "` + wal.NumberToFilenameV7(2) + `"). Because a payloadless trie carries only leaf hashes and no payloads, no migration is possible or needed; this command only re-checkpoints the selected trie. It acquires an exclusive lock on the WAL directory, so it must be run against a stopped node's data directory.`, RunE: runE, }
Cmd extracts the payloadless (V7) trie at a given state commitment from a WAL directory and writes it as a single-trie V7 root checkpoint. It is the payloadless counterpart of execution-state-extract: no migration is performed and no payloads are read, because a payloadless trie stores only leaf hashes.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.