Interface RootHashGenesisRuntimeState

GenesisRuntimeState contains state for runtimes that are restored in a genesis block.

interface RootHashGenesisRuntimeState {
    message_results?: RootHashMessageEvent[];
    round: longnum;
    state_root: Uint8Array;
}

Hierarchy (view full)

Properties

message_results?: RootHashMessageEvent[]

MessageResults are the message results emitted at the last processed round.

round: longnum

Round is the runtime round in the genesis.

state_root: Uint8Array

StateRoot is the state root that should be used at genesis time. If the runtime should start with empty state, this must be set to the empty hash.