We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e75d44 commit f4b7384Copy full SHA for f4b7384
tests/live_mode/reorg.rs
@@ -80,6 +80,7 @@ async fn reorg_rescans_events_with_rewind_depth() -> anyhow::Result<()> {
80
// sanity checks, block numb stays the same but hash changes
81
assert_eq!(new_latest_block.header.number, latest_block.header.number);
82
assert_ne!(new_latest_block.header.hash, latest_block.header.hash);
83
+
84
let new_block = provider
85
.get_block_by_number(BlockNumberOrTag::Number(latest_block.header.number - reorg_depth + 1))
86
.await?
0 commit comments