mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-02-01 20:03:08 +00:00
Add block assertions on mixed unhappy test
This commit is contained in:
parent
557b9f815f
commit
de9714a57c
@ -268,3 +268,8 @@ class TestCarnotUnhappyPath(TestCase):
|
||||
root_votes = succeed(self, overlay, nodes, proposed_block)
|
||||
leader.propose_block(view, root_votes)
|
||||
proposed_block = leader.latest_event
|
||||
|
||||
committed_blocks = [view for view in range(1, 11) if view not in (4, 7)]
|
||||
for node in nodes.values():
|
||||
for view in committed_blocks:
|
||||
self.assertIn(view, [block.view for block in node.committed_blocks.values()])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user