Expand description
EIP-2935 history storage helpers.
Re-exportsยง
use alloy_primitives::Address;๐use alloy_primitives::B256;๐use alloy_primitives::U256;๐
Constantsยง
- HISTORY_
SERVE_ WINDOW - EIP-2935: Serve historical block hashes from state
- HISTORY_
STORAGE_ ADDRESS - The address for the EIP-2935 history storage contract.
Staticsยง
- HISTORY_
STORAGE_ CODE - The code for the EIP-2935 history storage contract.
Functionsยง
- forward_
fill_ start - Returns the first block to backfill when rolling forward from
old_blocktonew_block. - history_
storage_ slot - Returns the history storage ring slot for
block_number. - history_
storage_ value - Encodes a block hash as the history contract storage value.
- history_
window_ start - Returns the first block in the valid EIP-2935 window for
current_block. - is_
history_ storage_ address - Returns whether
addressis the EIP-2935 history storage contract.