Add tests for withdrawals provider (#10428)

This commit is contained in:
Jennifer
2024-08-22 21:58:25 +01:00
committed by GitHub
parent 70a1015fd1
commit 24495cdc5d
28 changed files with 293 additions and 98 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, None);
let blocks = random_block_range(&mut rng, 0..=3, B256::ZERO, 2..3, None, 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