# Nodes should not have diverged till the last block
...
...
@@ -300,39 +348,55 @@ try:
blockProducers0=[]
blockProducers1=[]
#verify that the non producing node is not alive (and populate the producer nodes with current getInfo data to report if
#an error occurs)
assert(notnonProdNode.verifyAlive())
forprodNodeinprodNodes:
prodNode.getInfo()
# *** Track the blocks from the divergence till there are 10*12 blocks on one chain and 10*12+1 on the other ***
killBlockNum=blockNum
# lastBlockNum=killBlockNum+(maxActiveProducers - 1)*inRowCountPerProducer+1 # allow 1st testnet group to produce just 1 more block than the 2nd
lastBlockNum=prodNodes[1].getBlockNum()+(maxActiveProducers-1)*inRowCountPerProducer+1# allow 1st testnet group to produce just 1 more block than the 2nd
lastBlockNum=killBlockNum+(maxActiveProducers-1)*inRowCountPerProducer+1# allow 1st testnet group to produce just 1 more block than the 2nd