Expand description
Fork-aware Ethereum protocol validation state.
Structs§
- Access
List - Borrowed EIP-2930 access list.
- Access
List Entries - Iterator over borrowed access-list entries.
- Access
List Entry - Borrowed EIP-2930 access-list entry.
- Access
List Storage KeyItems - Iterator over borrowed storage keys.
- Access
List Storage Keys - Borrowed storage-key list for one access-list address.
- Blob
Versioned Hash Items - Iterator over borrowed blob versioned hashes.
- Blob
Versioned Hashes - Borrowed EIP-4844 blob versioned hash list.
- Canonical
- Canonical wire form and type-specific structure were checked.
- Canonical
Validation Proof - Proof that canonical transaction structure was checked.
- Chain
Spec - Explicit chain rules used to select fork validation context.
- Decoded
- Raw wire input was accepted by the codec.
- Fork
Spec - Ethereum fork rules selected for a validation operation.
- Fork
Validated - Fork-specific validity was checked.
- Fork
Validation Proof - Proof that fork-specific transaction validity was checked.
- Invalid
SignatureY Parity - Invalid EIP-2930/EIP-1559 signature y-parity bit.
- Sender
Recovered - Sender recovery succeeded.
- Sender
Recovery Proof - Proof that sender recovery succeeded.
- State
Transition Error - Failed state transition that returns the original transaction token.
- Transaction
- A transaction token whose validation state is tracked at compile time.
- Typed
Transaction Envelope - Borrowed EIP-2718 typed transaction shell.
- Unvalidated
Access List Transaction - Borrowed EIP-2930 transaction decoded only into field domains.
- Unvalidated
Blob Transaction - Borrowed EIP-4844 transaction decoded only into field domains.
- Unvalidated
Dynamic FeeTransaction - Borrowed EIP-1559 transaction decoded only into field domains.
- Unvalidated
Legacy Transaction - Borrowed legacy transaction decoded only into field domains.
- Validation
Context - Validation context that must be explicit for consensus-sensitive operations.
Enums§
- Access
List Transaction Decode Error - EIP-2930 access-list transaction decode failure.
- Access
List Transaction Decode Error Category - Stable high-level access-list transaction decode error categories.
- Access
List Transaction Field - EIP-2930 transaction field identifier.
- Access
List Transaction To - EIP-2930 transaction call/create target.
- Blob
Transaction Decode Error - EIP-4844 blob transaction decode failure.
- Blob
Transaction Decode Error Category - Stable high-level blob transaction decode error categories.
- Blob
Transaction Field - EIP-4844 transaction field identifier.
- Dynamic
FeeTransaction Decode Error - EIP-1559 dynamic-fee transaction decode failure.
- Dynamic
FeeTransaction Decode Error Category - Stable high-level dynamic-fee transaction decode error categories.
- Dynamic
FeeTransaction Field - EIP-1559 transaction field identifier.
- Feature
Error - Feature availability failure.
- Fork
Activation - Unambiguous fork activation rule.
- Fork
Error - Fork selection or activation failure.
- Hardfork
- Execution-layer hardfork identity used by explicit chain specs.
- Legacy
Transaction Decode Error - Legacy transaction decode failure.
- Legacy
Transaction Decode Error Category - Stable high-level legacy transaction decode error categories.
- Legacy
Transaction Field - Legacy transaction field identifier.
- Legacy
Transaction To - Legacy transaction call/create target.
- Protocol
Error - Protocol validation failure.
- Protocol
Error Category - Stable high-level protocol error categories.
- SignatureY
Parity - EIP-2930 signature y parity.
- Transaction
Encode Error - Transaction envelope encoding failure.
- Transaction
Encode Error Category - Stable high-level transaction encode error categories.
- Transaction
Envelope - Borrowed transaction envelope shell.
- Transaction
Envelope Error - Transaction envelope classification failure.
- Transaction
Envelope Error Category - Stable high-level transaction envelope error categories.
- Unvalidated
Transaction - Supported unvalidated transaction domains accepted by the encoder.
Constants§
- ACCESS_
LIST_ TRANSACTION_ FIELD_ COUNT - Number of fields in an EIP-2930 access-list transaction payload.
- ACCESS_
LIST_ TRANSACTION_ TYPE - EIP-2930 transaction type byte.
- BLOB_
TRANSACTION_ FIELD_ COUNT - Number of fields in an EIP-4844 blob transaction payload.
- BLOB_
TRANSACTION_ TYPE - EIP-4844 blob transaction type byte.
- DYNAMIC_
FEE_ TRANSACTION_ FIELD_ COUNT - Number of fields in an EIP-1559 dynamic-fee transaction payload.
- DYNAMIC_
FEE_ TRANSACTION_ TYPE - EIP-1559 dynamic-fee transaction type byte.
- EIP_
2718_ MAX_ TYPED_ PREFIX - Largest single-byte EIP-2718 typed transaction prefix.
- EIP_
2718_ RESERVED_ PREFIX - Prefix reserved by EIP-2718 as a future extension sentinel.
- EIP_
2718_ SCALAR_ PREFIX_ START - First RLP scalar prefix that cannot be a typed transaction envelope or a legacy transaction list.
- EIP_
2718_ TYPED_ ZERO_ PREFIX - EIP-2718 byte value reserved by this crate for the legacy transaction domain.
- LEGACY_
TRANSACTION_ FIELD_ COUNT - Number of fields in a canonical legacy transaction RLP list.
- LEGACY_
TRANSACTION_ PREFIX_ START - First byte used by canonical RLP short-list legacy transactions.
Functions§
- decode_
access_ list_ transaction - Decodes an EIP-2930 access-list transaction into unvalidated field domains.
- decode_
blob_ transaction - Decodes an EIP-4844 blob transaction into unvalidated field domains.
- decode_
dynamic_ fee_ transaction - Decodes an EIP-1559 dynamic-fee transaction into unvalidated field domains.
- decode_
legacy_ transaction - Decodes a canonical legacy transaction into unvalidated field domains.
- decode_
transaction_ envelope - Classifies a borrowed transaction envelope under explicit decode limits.
- encode_
access_ list_ signing_ preimage - Encodes the EIP-2930 signing preimage.
- encode_
access_ list_ transaction - Canonically encodes an EIP-2930 access-list transaction.
- encode_
blob_ signing_ preimage - Encodes the EIP-4844 signing preimage.
- encode_
blob_ transaction - Canonically encodes an EIP-4844 blob transaction.
- encode_
dynamic_ fee_ signing_ preimage - Encodes the EIP-1559 signing preimage.
- encode_
dynamic_ fee_ transaction - Canonically encodes an EIP-1559 dynamic-fee transaction.
- encode_
legacy_ eip155_ signing_ preimage - Encodes the EIP-155 legacy signing preimage.
- encode_
legacy_ transaction - Canonically encodes a legacy transaction.
- encode_
transaction - Canonically encodes an admitted unvalidated transaction envelope.
- encoded_
access_ list_ signing_ preimage_ len - Returns the EIP-2930 signing preimage length.
- encoded_
access_ list_ transaction_ len - Returns the canonical encoded EIP-2930 transaction length.
- encoded_
blob_ signing_ preimage_ len - Returns the EIP-4844 signing preimage length.
- encoded_
blob_ transaction_ len - Returns the canonical encoded EIP-4844 transaction length.
- encoded_
dynamic_ fee_ signing_ preimage_ len - Returns the EIP-1559 signing preimage length.
- encoded_
dynamic_ fee_ transaction_ len - Returns the canonical encoded EIP-1559 transaction length.
- encoded_
legacy_ eip155_ signing_ preimage_ len - Returns the EIP-155 legacy signing preimage length.
- encoded_
legacy_ transaction_ len - Returns the canonical encoded legacy transaction length.
- encoded_
transaction_ len - Returns the canonical encoded transaction envelope length.
Type Aliases§
- Dynamic
FeeTransaction To - EIP-1559 transaction call/create target.