Skip to main content

Module snap

Module snap 

Source
Expand description

Downloaders for authenticated snap state ranges. Downloads and verifies snap/2 ranges against EIP-8189 pivot state roots.

Persistence and range selection are handled by the snap sync orchestrator.

Structs§

AccountRangeDownloader
Downloads and verifies one account range against its requested state root.
BlockAccessListDownloader
Downloads block access lists and authenticates each against its header commitment.
BytecodeDownloader
Downloads contract bytecode and authenticates each blob against a requested hash.
InvalidAccountRange
An account-range request whose origin exceeds its limit.
StorageRangeDownloader
Downloads storage ranges authenticated by a verified account range.
VerifiedAccountBatch
Accounts and the state root they were authenticated against.
VerifiedAccountRange
A decoded account range authenticated against a state root.
VerifiedBlockAccessLists
Positional block access lists authenticated against their header commitments.
VerifiedBytecode
Contract code authenticated against the hashes that were requested for it.
VerifiedStorageRange
Decoded storage slots authenticated against one account.
VerifiedStorageRanges
Positional storage ranges authenticated against their accounts.

Enums§

AccountRangeOutcome
The result of an authenticated account-range request.
BlockAccessListOutcome
Result of an authenticated block-access-lists request.
BytecodeOutcome
Result of an authenticated bytecode request.
InvalidBlockAccessListRequest
A block-access-lists request that cannot be authenticated by the headers supplied with it.
InvalidBytecodeRequest
A bytecode request that can never be answered.
InvalidStorageRangeRequest
A storage request that does not match its authenticated accounts.
StorageRangeOutcome
Result of an authenticated storage-ranges request.