mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
test(provider): RequestsProvider of BlockchainProvider2 (#10356)
This commit is contained in:
@ -279,7 +279,7 @@ mod tests {
|
||||
let mut rng = generators::rng();
|
||||
let db = TestStageDB::default();
|
||||
|
||||
let blocks = random_block_range(&mut rng, 0..=3, B256::ZERO, 2..3);
|
||||
let blocks = random_block_range(&mut rng, 0..=3, B256::ZERO, 2..3, None);
|
||||
db.insert_blocks(blocks.iter(), StorageKind::Database(None)).expect("insert blocks");
|
||||
// Unwind headers from static_files and manually insert them into the database, so we're
|
||||
// able to check that static_file_producer works
|
||||
|
||||
Reference in New Issue
Block a user