cli

package
v0.0.0-...-58a0b79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2026 License: ISC Imports: 59 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type StateFile

type StateFile struct {
	LedgerIndex uint32           `json:"ledger_index,omitempty"`
	AccountHash string           `json:"account_hash,omitempty"`
	Entries     []StateFileEntry `json:"entries,omitempty"`
}

StateFile represents a state dump file (either from fixtures or debug output)

type StateFileEntry

type StateFileEntry struct {
	Index   string         `json:"index"`
	Data    string         `json:"data,omitempty"`     // From fixture state.json
	DataHex string         `json:"data_hex,omitempty"` // From debug post_state.json
	Decoded map[string]any `json:"decoded,omitempty"`  // Pre-decoded data
}

StateFileEntry represents a state entry that could come from different formats

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL