fix: add additional assert to count correct shares

This commit is contained in:
Roman 2025-04-23 16:10:51 +08:00
parent 92bad26f33
commit 63ae641663
No known key found for this signature in database
GPG Key ID: 583BDF43C238B83E

View File

@ -25,6 +25,8 @@ class TestInteractionDataFlow(StepsDataAvailability, StepsConsensus, StepsStorag
index_shares = self.get_data_range(self.node2, to_app_id(1), to_index(0), to_index(5))
da_shares = extract_da_shares(index_shares)
assert len(da_shares) == 2, "Two da_shares are expected"
modified_da_share = da_shares[0]
modified_da_share["share_idx"] = 7