Module eip2935
Expand description
EIP-2935 history storage helpers.
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.