Skip to content

Commit 3274332

Browse files
committed
fix: test
1 parent d1aaa04 commit 3274332

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/sync/from_block.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ async fn block_confirmations_mitigate_reorgs() -> anyhow::Result<()> {
8282
setup_sync_scanner(None, None, BlockNumberOrTag::Earliest, 5).await?;
8383

8484
// mine some initial "historic" blocks
85-
contract.increase().send().await?.watch().await?;
86-
provider.root().anvil_mine(Some(5), None).await?;
85+
for _ in 0..7 {
86+
contract.increase().send().await?.watch().await?;
87+
}
8788

8889
scanner.start().await?;
8990

0 commit comments

Comments
 (0)