mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-01 18:43:11 +00:00
fix(sequencer): correct test assertion
This commit is contained in:
parent
80cd3afe0d
commit
abe24c8a26
@ -432,7 +432,8 @@ async fn build_block_from_mempool() {
|
|||||||
|
|
||||||
let result = sequencer.build_block_from_mempool();
|
let result = sequencer.build_block_from_mempool();
|
||||||
assert!(result.is_ok());
|
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]
|
#[tokio::test]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user