You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/__w/spring/spring/build/tests/separate_prod_fin_test.py", line 75, in <module>
qc_ext = block["qc_extension"]
KeyError: 'qc_extension'
Need to update test to check that qc_extension is in the block before trying to access it.
The test does try to look for it in other blocks, but fails to check that it is there before trying to access it.
whilei<3: # slow ci/cd might not get all votes in time, try a few blocks# LIB has advanced, which indicate at least 2 of non-producer finalizers have voted.block_num=cluster.getNode(1).getIrreversibleBlockNum()
block=cluster.getNode(1).getBlock(block_num)
qc_ext=block["qc_extension"]
Print(f'{qc_ext}')
# "11111" is the representation of a bitset showing which finalizers have voted (we have five total finalizers)ifqc_ext["qc"]["active_policy_sig"]["strong_votes"] =="11111":
breakcluster.getNode(1).waitForLibToAdvance()
i+=1asserti<3, "Not all finalizers voted"
The text was updated successfully, but these errors were encountered:
https://github.com/AntelopeIO/spring/actions/runs/11788970348/job/32837287849
Need to update test to check that
qc_extension
is in theblock
before trying to access it.The test does try to look for it in other blocks, but fails to check that it is there before trying to access it.
The text was updated successfully, but these errors were encountered: