@@ -49,8 +49,9 @@ def getmnlistdiff(self, baseBlockHash, blockHash):
49
49
50
50
class LLMQEvoNodesTest (DashTestFramework ):
51
51
def set_test_params (self ):
52
- self .set_dash_test_params (4 , 3 , evo_count = 5 )
53
- self .mn_rr_height = 400
52
+ # we just need a couple of regular nodes to be ensured that they are not included in platform quorum, 2 is enough
53
+ self .set_dash_test_params (3 , 2 , evo_count = 4 )
54
+ self .mn_rr_height = 320
54
55
55
56
def run_test (self ):
56
57
# Connect all nodes to node1 so that we always have the whole network connected
@@ -66,7 +67,7 @@ def run_test(self):
66
67
b_0 = self .nodes [0 ].getbestblockhash ()
67
68
self .test_getmnlistdiff (null_hash , b_0 , {}, [], expectedUpdated )
68
69
69
- self .test_masternode_count (expected_mns_count = 3 , expected_evo_count = 0 )
70
+ self .test_masternode_count (expected_mns_count = 2 , expected_evo_count = 0 )
70
71
evo_protxhash_list = list ()
71
72
for i in range (self .evo_count ):
72
73
evo_info : MasternodeInfo = self .dynamically_add_masternode (evo = True )
@@ -77,7 +78,7 @@ def run_test(self):
77
78
b_i = self .nodes [0 ].getbestblockhash ()
78
79
self .test_getmnlistdiff (null_hash , b_i , {}, [], expectedUpdated )
79
80
80
- self .test_masternode_count (expected_mns_count = 3 , expected_evo_count = i + 1 )
81
+ self .test_masternode_count (expected_mns_count = 2 , expected_evo_count = i + 1 )
81
82
self .dynamically_evo_update_service (evo_info )
82
83
83
84
self .log .info ("Test llmq_platform are formed only with EvoNodes" )
@@ -93,7 +94,7 @@ def run_test(self):
93
94
self .test_masternode_winners ()
94
95
95
96
self .activate_mn_rr ()
96
- self .log .info ("Activated MN RewardReallocation, current height:" + str ( self .nodes [0 ].getblockcount ()) )
97
+ self .log .info (f "Activated MN RewardReallocation, current height: { self .nodes [0 ].getblockcount ()} " )
97
98
98
99
# Generate a few blocks to make EvoNode/MN analysis on a pure MN RewardReallocation window
99
100
self .bump_mocktime (1 )
0 commit comments