Skip to content

Commit 70727c6

Browse files
Fix tests that have reward cycle starting on boundary
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 6da8514 commit 70727c6

File tree

1 file changed

+6
-6
lines changed
  • stackslib/src/chainstate/nakamoto/coordinator

1 file changed

+6
-6
lines changed

stackslib/src/chainstate/nakamoto/coordinator/tests.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ fn block_descendant() {
942942
pox_constants.v2_unlock_height = 21;
943943
pox_constants.pox_3_activation_height = 26;
944944
pox_constants.v3_unlock_height = 27;
945-
pox_constants.pox_4_activation_height = 28;
945+
pox_constants.pox_4_activation_height = 33;
946946

947947
let mut boot_plan = NakamotoBootPlan::new(function_name!())
948948
.with_test_stackers(test_stackers)
@@ -1031,7 +1031,7 @@ fn block_info_tests(use_primary_testnet: bool) {
10311031
pox_constants.v2_unlock_height = 21;
10321032
pox_constants.pox_3_activation_height = 26;
10331033
pox_constants.v3_unlock_height = 27;
1034-
pox_constants.pox_4_activation_height = 28;
1034+
pox_constants.pox_4_activation_height = 33;
10351035

10361036
let chain_id = if use_primary_testnet {
10371037
CHAIN_ID_TESTNET
@@ -1466,7 +1466,7 @@ fn pox_treatment() {
14661466
pox_constants.v2_unlock_height = 21;
14671467
pox_constants.pox_3_activation_height = 26;
14681468
pox_constants.v3_unlock_height = 27;
1469-
pox_constants.pox_4_activation_height = 28;
1469+
pox_constants.pox_4_activation_height = 33;
14701470

14711471
let mut boot_plan = NakamotoBootPlan::new(function_name!())
14721472
.with_test_stackers(test_stackers.clone())
@@ -1719,7 +1719,7 @@ fn transactions_indexing() {
17191719
pox_constants.v2_unlock_height = 21;
17201720
pox_constants.pox_3_activation_height = 26;
17211721
pox_constants.v3_unlock_height = 27;
1722-
pox_constants.pox_4_activation_height = 28;
1722+
pox_constants.pox_4_activation_height = 33;
17231723

17241724
let mut boot_plan = NakamotoBootPlan::new(function_name!())
17251725
.with_test_stackers(test_stackers.clone())
@@ -1784,7 +1784,7 @@ fn transactions_not_indexing() {
17841784
pox_constants.v2_unlock_height = 21;
17851785
pox_constants.pox_3_activation_height = 26;
17861786
pox_constants.v3_unlock_height = 27;
1787-
pox_constants.pox_4_activation_height = 28;
1787+
pox_constants.pox_4_activation_height = 33;
17881788

17891789
let mut boot_plan = NakamotoBootPlan::new(function_name!())
17901790
.with_test_stackers(test_stackers.clone())
@@ -3897,7 +3897,7 @@ fn process_next_nakamoto_block_deadlock() {
38973897
pox_constants.v2_unlock_height = 21;
38983898
pox_constants.pox_3_activation_height = 26;
38993899
pox_constants.v3_unlock_height = 27;
3900-
pox_constants.pox_4_activation_height = 28;
3900+
pox_constants.pox_4_activation_height = 33;
39013901

39023902
let mut boot_plan = NakamotoBootPlan::new(function_name!())
39033903
.with_test_stackers(test_stackers)

0 commit comments

Comments
 (0)