From 94187cc3d75ce156f3fa44a271a18ca9e4456e52 Mon Sep 17 00:00:00 2001 From: Gregory Edison Date: Fri, 24 Oct 2025 10:39:00 +0200 Subject: [PATCH] test: assert latest block on en on reorg --- crates/node/tests/e2e.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/node/tests/e2e.rs b/crates/node/tests/e2e.rs index 933b7c8f..549ba726 100644 --- a/crates/node/tests/e2e.rs +++ b/crates/node/tests/e2e.rs @@ -1428,6 +1428,10 @@ async fn can_handle_l1_message_reorg() -> eyre::Result<()> { ) .await?; + // Assert both nodes are at block 10. + assert_latest_block_on_rpc_by_number(&node0, 10).await; + assert_latest_block_on_rpc_by_number(&node1, 10).await; + // Since the L1 reorg reverted the L1 message included in block 11, the sequencer // should produce a new block at height 11. node0_rnm_handle.build_block();