Skip to content

Commit a85c976

Browse files
committed
test: activate v20 and mn_rr earlier for feature_asset_locks.py test
1 parent 4a6b7a0 commit a85c976

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/functional/feature_asset_locks.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ def set_test_params(self):
5555
self.set_dash_test_params(2, 0, [[
5656
"-whitelist=127.0.0.1",
5757
"-llmqtestinstantsenddip0024=llmq_test_instantsend",
58-
"-testactivationheight=mn_rr@1400",
58+
"-testactivationheight=v20@400",
59+
"-testactivationheight=mn_rr@950",
5960
]] * 2, evo_count=2)
6061

6162
def skip_test_if_missing_module(self):
@@ -249,7 +250,7 @@ def run_test(self):
249250

250251
self.set_sporks()
251252

252-
self.activate_v20(expected_activation_height=900)
253+
self.activate_v20(expected_activation_height=400)
253254
self.log.info("Activated v20 at height:" + str(node.getblockcount()))
254255
assert softfork_active(node_wallet, 'withdrawals')
255256

@@ -608,7 +609,7 @@ def test_withdrawal_limits(self, node_wallet, node, pubkey):
608609
def test_mn_rr(self, node_wallet, node, pubkey):
609610
self.log.info("Activate mn_rr...")
610611
locked = self.get_credit_pool_balance()
611-
self.activate_mn_rr(expected_activation_height=1400)
612+
self.activate_mn_rr(expected_activation_height=950)
612613
self.log.info(f'mn-rr height: {node.getblockcount()} credit: {self.get_credit_pool_balance()}')
613614
assert_equal(locked, self.get_credit_pool_balance())
614615

@@ -620,7 +621,7 @@ def test_mn_rr(self, node_wallet, node, pubkey):
620621
all_mn_rewards = platform_reward + owner_reward + operator_reward
621622
assert_equal(all_mn_rewards, bt['coinbasevalue'] * 3 // 4) # 75/25 mn/miner reward split
622623
assert_equal(platform_reward, all_mn_rewards * 375 // 1000) # 0.375 platform share
623-
assert_equal(platform_reward, 57741807)
624+
assert_equal(platform_reward, 90147655)
624625
assert_equal(locked, self.get_credit_pool_balance())
625626
self.generate(node, 1)
626627
locked += platform_reward

0 commit comments

Comments
 (0)