Skip to main content

Crate alloy_eip7928

Crate alloy_eip7928 

Source
Expand description

Block-level access lists for Reth. [EIP-7928]: https://eips.ethereum.org/EIPS/eip-7928

Re-exports§

pub use constants::*;
pub use storage_change::*;
pub use slot_changes::*;
pub use balance_change::*;
pub use nonce_change::*;
pub use code_change::*;
pub use account_changes::*;
pub use block_access_list::*;

Modules§

account_changes
Module for managing account changes within a block. Contains the AccountChanges struct, which represents storage writes, balance, nonce, code changes and read for the account. All changes for a single account, grouped by field type. This eliminates address redundancy across different change types.
balance_change
Module for handling balance changes within a block. Contains the BalanceChange struct, which represents a post balance for an account. Single balance change: tx_index -> post_balance
block_access_list
Module for managing block access lists. Contains the BlockAccessList type, which represents a simple list of account changes.
code_change
Module for handling code changes within a block. Contains the CodeChange struct, which represents a new code for an account. Single code change: tx_index -> new_code
constants
Module containing constants used throughout the block access list. Constants for eip-7928. Chosen to support a 630 million gas limit.
nonce_change
Module for handling nonce changes within a block. Contains the NonceChange struct, which represents a new nonce for an account. Single code change: tx_index -> new_nonce
slot_changes
Module for managing storage slots and their changes. Contains the SlotChanges struct, which represents all changes made to a single storage slot across
storage_change
Module for handling storage changes within a block. Contains the StorageChange struct, which represents a single storage write operation within a transaction.