mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: update revm 19 alloy 09 (#13594)
This commit is contained in:
@ -810,6 +810,7 @@ mod tests {
|
||||
.is_zero()));
|
||||
}
|
||||
|
||||
// <https://github.com/ethereum/EIPs/pull/9144>
|
||||
#[test]
|
||||
fn eip_2935_fork_activation_outside_window_bounds() {
|
||||
let fork_activation_block = (BLOCKHASH_SERVE_WINDOW + 256) as u64;
|
||||
@ -846,15 +847,6 @@ mod tests {
|
||||
// the hash for the ancestor of the fork activation block should be present
|
||||
assert!(executor
|
||||
.with_state_mut(|state| state.basic(HISTORY_STORAGE_ADDRESS).unwrap().is_some()));
|
||||
assert_ne!(
|
||||
executor.with_state_mut(|state| state
|
||||
.storage(
|
||||
HISTORY_STORAGE_ADDRESS,
|
||||
U256::from(fork_activation_block % BLOCKHASH_SERVE_WINDOW as u64 - 1)
|
||||
)
|
||||
.unwrap()),
|
||||
U256::ZERO
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user