fix(sequencer): correct test assertion

This commit is contained in:
erhant 2026-07-13 11:09:29 +03:00
parent a0f7957468
commit 0b6a947713

View File

@ -432,7 +432,8 @@ async fn build_block_from_mempool() {
let result = sequencer.build_block_from_mempool();
assert!(result.is_ok());
assert_eq!(sequencer.chain_height(), genesis_height + 1);
// Building itself does not advance the head; only apply-after-publish does.
assert_eq!(sequencer.chain_height(), genesis_height);
}
#[tokio::test]