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.
- Canonical
- Canonical wire form and type-specific structure were checked.
- 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.
- Invalid
SignatureY Parity - Invalid EIP-2930/EIP-1559 signature y-parity bit.
- Sender
Recovered - Sender recovery succeeded.
- 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
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.
- 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.
- 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
Envelope - Borrowed transaction envelope shell.
- Transaction
Envelope Error - Transaction envelope classification failure.
- Transaction
Envelope Error Category - Stable high-level transaction envelope error categories.
Constants§
- ACCESS_
LIST_ TRANSACTION_ FIELD_ COUNT - Number of fields in an EIP-2930 access-list transaction payload.
- DYNAMIC_
FEE_ TRANSACTION_ FIELD_ COUNT - Number of fields in an EIP-1559 dynamic-fee transaction payload.
- 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_
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.
Type Aliases§
- Dynamic
FeeTransaction To - EIP-1559 transaction call/create target.