Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Jan 9, 2025
1 parent c4a39cc commit 509bee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/primitives/src/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use alloy_eips::BlockNumberOrTag;
use alloy_provider::network::Ethereum;
use alloy_provider::{Network, Provider};
use alloy_transport::{BoxTransport, Transport, TransportResult};
#[cfg(feature = "scroll")]
use itertools::Itertools;
use sbv_helpers::cycle_track;
use sbv_kv::KeyValueStore;
Expand Down
2 changes: 1 addition & 1 deletion crates/trie/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ mod tests {
let mut store = NoHashMap::default();
block.import_nodes(&mut store).unwrap();

let trie = PartialStateTrie::open(&store, block.pre_state_root);
let trie = PartialStateTrie::open(&store, block.pre_state_root).expect("open trie");
for tx in block.transaction.iter() {
let _ = trie.get_account(tx.from).unwrap();
let _ = trie.get_storage(&store, tx.from, U256::ZERO);
Expand Down

0 comments on commit 509bee7

Please sign in to comment.