Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.