test(provider): RequestsProvider of BlockchainProvider2 (#10356)

This commit is contained in:
Alexey Shekhirin
2024-08-21 21:58:49 +01:00
committed by GitHub
parent 302ce7f482
commit 3da119b1ac
30 changed files with 236 additions and 133 deletions

View File

@ -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