Skip to content

Commit a5d514b

Browse files
author
Marzi
committed
Add additional required args for pox function calls after rebase
1 parent 9afdc6b commit a5d514b

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

stackslib/src/chainstate/stacks/boot/pox_4_tests.rs

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,6 +1363,8 @@ fn pox_4_check_cycle_id_range_in_print_events() {
13631363
reward_cycle,
13641364
&Pox4SignatureTopic::StackStx,
13651365
lock_period,
1366+
u128::MAX,
1367+
1,
13661368
);
13671369
let steph_stacking = make_pox_4_lockup(
13681370
&steph_key,
@@ -1373,13 +1375,31 @@ fn pox_4_check_cycle_id_range_in_print_events() {
13731375
&steph_signing_key,
13741376
block_height,
13751377
Some(signature),
1378+
u128::MAX,
1379+
1,
13761380
);
13771381
steph_nonce += 1;
13781382

13791383
//stack-increase
13801384
let steph_stack_increase_nonce = steph_nonce;
1381-
let steph_stack_increase =
1382-
make_pox_4_stack_increase(&steph_key, steph_stack_increase_nonce, 100);
1385+
let signature = make_signer_key_signature(
1386+
&steph_pox_addr,
1387+
&steph_key,
1388+
reward_cycle,
1389+
&Pox4SignatureTopic::StackIncrease,
1390+
lock_period,
1391+
u128::MAX,
1392+
1,
1393+
);
1394+
let steph_stack_increase = make_pox_4_stack_increase(
1395+
&steph_key,
1396+
steph_stack_increase_nonce,
1397+
100,
1398+
&steph_signing_key,
1399+
Some(signature),
1400+
u128::MAX,
1401+
1,
1402+
);
13831403
steph_nonce += 1;
13841404

13851405
//stack-extend
@@ -1390,6 +1410,8 @@ fn pox_4_check_cycle_id_range_in_print_events() {
13901410
reward_cycle,
13911411
&Pox4SignatureTopic::StackExtend,
13921412
1_u128,
1413+
u128::MAX,
1414+
1,
13931415
);
13941416

13951417
let steph_stack_extend = make_pox_4_extend(
@@ -1399,6 +1421,8 @@ fn pox_4_check_cycle_id_range_in_print_events() {
13991421
lock_period,
14001422
steph_signing_key,
14011423
Some(stack_extend_signature),
1424+
u128::MAX,
1425+
1,
14021426
);
14031427
steph_nonce += 1;
14041428

@@ -1439,6 +1463,8 @@ fn pox_4_check_cycle_id_range_in_print_events() {
14391463
next_reward_cycle,
14401464
&Pox4SignatureTopic::AggregationCommit,
14411465
lock_period,
1466+
u128::MAX,
1467+
1,
14421468
);
14431469
let bob_aggregation_commit = make_pox_4_aggregation_commit_indexed(
14441470
&bob,
@@ -1447,6 +1473,8 @@ fn pox_4_check_cycle_id_range_in_print_events() {
14471473
next_reward_cycle,
14481474
Some(signature),
14491475
&bob_signing_key,
1476+
u128::MAX,
1477+
1,
14501478
);
14511479
bob_nonce += 1;
14521480

0 commit comments

Comments
 (0)