revm_primitives/
constants.rs1use crate::eip170;
2use alloy_primitives::{b256, Address, B256};
3
4pub const BLOCK_HASH_HISTORY: u64 = 256;
6
7pub const PRECOMPILE3: Address =
9 Address::new([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3]);
10
11pub const STACK_LIMIT: usize = 1024;
13
14pub const MAX_INITCODE_SIZE: usize = 2 * eip170::MAX_CODE_SIZE;
18
19pub const CALL_STACK_LIMIT: u64 = 1024;
21
22pub const KECCAK_EMPTY: B256 =
24 b256!("c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470");