Skip to content

Commit

Permalink
chore: add history serve window (#1865)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Dec 30, 2024
1 parent 075a4e6 commit 3c1ec58
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions crates/eips/src/eip2935.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ pub const HISTORY_STORAGE_ADDRESS: Address = address!("0F792be4B0c0cb4DAE440Ef13

/// The code for the EIP-2935 history storage contract.
pub static HISTORY_STORAGE_CODE: Bytes = bytes!("3373fffffffffffffffffffffffffffffffffffffffe14604657602036036042575f35600143038111604257611fff81430311604257611fff9006545f5260205ff35b5f5ffd5b5f35611fff60014303065500");

/// EIP-2935: Serve historical block hashes from state
///
/// Number of block hashes the EVM can access in the past (Prague).
///
/// # Note
///
/// Updated from 8192 to 8191 in <https://github.com/ethereum/EIPs/pull/9144>
pub const HISTORY_SERVE_WINDOW: usize = 8191;

0 comments on commit 3c1ec58

Please sign in to comment.