Skip to main content

ExecutionWitnessV1

Type Alias ExecutionWitnessV1 

Source
pub type ExecutionWitnessV1 = ExecutionWitness;
Expand description

Canonical execution witness for the SSZ Engine API witness routes.

state and codes are produced in lexicographic ascending byte order. headers are RLP-encoded and ordered by ascending block number; consecutive headers must be parent-linked. These ordering rules are producer-side requirements from the execution-specs witness builder.

This is a REST-SSZ wire container, not the JSON-RPC debug witness shape.

Aliased Type§

pub struct ExecutionWitnessV1 {
    pub state: Vec<Bytes>,
    pub codes: Vec<Bytes>,
    pub headers: Vec<Bytes>,
}

Fields§

§state: Vec<Bytes>

RLP-encoded account and storage trie nodes needed during execution and state-root recomputation.

§codes: Vec<Bytes>

Contract bytecode fetched from the pre-state during execution.

§headers: Vec<Bytes>

RLP-encoded ancestor headers that establish the pre-state and verify BLOCKHASH results.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 72 bytes