Skip to main content

Module execution

Module execution 

Source
Expand description

Execution layer specific types for .ere files

Contains implementations for compressed execution layer data structures:

These types use Snappy compression to match the specification.

See also https://github.com/eth-clients/e2store-format-specs/blob/main/formats/ere.md

Structs§

Accumulator
Accumulator is computed by constructing an SSZ list of header-records and calculating the hash_tree_root
BlockTuple
A single block’s components in an ERE file.
CompressedBody
Compressed block body using snappyFramed(rlp(body))
CompressedHeader
Compressed block header using snappyFramed(rlp(header))
CompressedSlimReceipts
Compressed slim receipts using snappyFramed(rlp(...)).
HeaderRecord
The minimal per-block commitment used to build the accumulator.
Proof
A proof entry attesting to block validity against a trusted consensus layer header.
SlimReceipt
A slim execution receipt as stored in an ERE file.
TotalDifficulty
Total difficulty for a block

Enums§

ProofType
Proof type discriminant used inside the Proof entry’s RLP envelope.

Constants§

ACCUMULATOR
Accumulator record type
COMPRESSED_BODY
CompressedBody record type
COMPRESSED_HEADER
CompressedHeader record type
COMPRESSED_SLIM_RECEIPTS
CompressedSlimReceipts record type (0x0a00) Slim receipts exclude bloom filters to optimize storage.
MAX_BLOCKS_PER_ERE
Maximum number of blocks in an ERE file, limited by accumulator size.
PROOF
Proof record type (0x0b00) Format: snappyFramed(rlp([proof-type, ssz(proof-object)]))
TOTAL_DIFFICULTY
TotalDifficulty record type