Skip to content

Commit d38a184

Browse files
committed
fixed epoc based signer tests
1 parent a3d07ac commit d38a184

File tree

1 file changed

+6
-0
lines changed
  • stacks-node/src/tests/signer

1 file changed

+6
-0
lines changed

stacks-node/src/tests/signer/v0.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3001,6 +3001,8 @@ fn bitcoind_forking_test() {
30013001
let epochs = node_config.burnchain.epochs.as_mut().unwrap();
30023002
epochs[StacksEpochId::Epoch30].end_height = 3_015;
30033003
epochs[StacksEpochId::Epoch31].start_height = 3_015;
3004+
epochs[StacksEpochId::Epoch31].end_height = 3_055;
3005+
epochs[StacksEpochId::Epoch32].start_height = 3_055;
30043006
},
30053007
None,
30063008
None,
@@ -7483,6 +7485,8 @@ fn mock_sign_epoch_25() {
74837485
epochs[StacksEpochId::Epoch30].start_height = 251;
74847486
epochs[StacksEpochId::Epoch30].end_height = 265;
74857487
epochs[StacksEpochId::Epoch31].start_height = 265;
7488+
epochs[StacksEpochId::Epoch31].end_height = 285;
7489+
epochs[StacksEpochId::Epoch32].start_height = 285;
74867490
},
74877491
None,
74887492
None,
@@ -7601,6 +7605,8 @@ fn multiple_miners_mock_sign_epoch_25() {
76017605
epochs[StacksEpochId::Epoch30].start_height = 251;
76027606
epochs[StacksEpochId::Epoch30].end_height = 265;
76037607
epochs[StacksEpochId::Epoch31].start_height = 265;
7608+
epochs[StacksEpochId::Epoch31].end_height = 285;
7609+
epochs[StacksEpochId::Epoch32].start_height = 285;
76047610
},
76057611
|_| {},
76067612
);

0 commit comments

Comments
 (0)