Interface RootHashExecutorCommitment

ExecutorCommitment is a commitment to results of processing a proposed runtime block.

interface RootHashExecutorCommitment {
    header: RootHashExecutorCommitmentHeader;
    messages?: RootHashMessage[];
    node_id: Uint8Array;
    sig: Uint8Array;
}

Properties

Header is the commitment header.

messages?: RootHashMessage[]

Messages are the messages emitted by the runtime.

This field is only present in case this commitment belongs to the proposer. In case of the commitment being submitted as equivocation evidence, this field should be omitted.

node_id: Uint8Array

NodeID is the public key of the node that generated this commitment.

sig: Uint8Array

Signature is the commitment header signature.