Crate substrate_state_machine

Crate substrate_state_machine 

Source
Expand description

The StateMachineClient implementation for substrate state machines

Structs§

DigestResult
Result for processing consensus digest logs
StateMachineProof
The substrate state machine proof. This will be a base-16 merkle patricia proof. It’s TrieLayout will be the LayoutV0
SubstrateStateMachine
The StateMachineClient implementation for substrate state machines. Assumes requests are stored in a child trie.

Enums§

HashAlgorithm
Hashing algorithm for the state proof
SubstrateStateProof
Holds the relevant data needed for state proof verification

Functions§

fetch_overlay_root_and_timestamp
Fetches the overlay (ismp) root and timestamp from the header digest
read_proof_check
Lifted directly from sp_state_machine::read_proof_check
read_proof_check_for_parachain
Lifted directly from sp_state_machine::read_proof_check