Skip to content

Commit

Permalink
b256
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Sep 28, 2023
1 parent 76d90df commit 54b0ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/snapshot/src/snapshotter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,15 @@ mod tests {
test_utils::{generators, generators::random_block_range},
RethError,
};
use reth_primitives::{H256, MAINNET};
use reth_primitives::{B256, MAINNET};
use reth_stages::test_utils::TestTransaction;

#[test]
fn get_snapshot_targets() {
let tx = TestTransaction::default();
let mut rng = generators::rng();

let blocks = random_block_range(&mut rng, 0..=3, H256::zero(), 2..3);
let blocks = random_block_range(&mut rng, 0..=3, B256::ZERO, 2..3);
tx.insert_blocks(blocks.iter(), None).expect("insert blocks");

let mut snapshotter = Snapshotter::new(tx.inner_raw(), MAINNET.clone(), 2);
Expand Down

0 comments on commit 54b0ee9

Please sign in to comment.