Skip to content

Commit ff8f55d

Browse files
committed
fix: add new signer test to bitcoin-tests
1 parent 738db8d commit ff8f55d

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/bitcoin-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ jobs:
118118
- tests::signer::v0::mine_2_nakamoto_reward_cycles
119119
- tests::signer::v0::signer_set_rollover
120120
- tests::signer::v0::signing_in_0th_tenure_of_reward_cycle
121+
- tests::signer::v0::continue_after_tenure_extend
121122
- tests::nakamoto_integrations::burn_ops_integration_test
122123
- tests::nakamoto_integrations::check_block_heights
123124
- tests::nakamoto_integrations::clarity_burn_state

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4988,18 +4988,13 @@ fn continue_after_tenure_extend() {
49884988
// It's possible that we have a pending block commit already.
49894989
// Mine two BTC blocks to "flush" this commit.
49904990

4991-
let mut blocks_processed_before = coord_channel
4992-
.lock()
4993-
.expect("Mutex poisoned")
4994-
.get_stacks_blocks_processed();
4995-
49964991
for i in 0..2 {
49974992
info!(
49984993
"------------- After pausing commits, triggering 2 BTC blocks: ({} of 2) -----------",
49994994
i + 1
50004995
);
50014996

5002-
blocks_processed_before = coord_channel
4997+
let mut blocks_processed_before = coord_channel
50034998
.lock()
50044999
.expect("Mutex poisoned")
50055000
.get_stacks_blocks_processed();
@@ -5035,7 +5030,7 @@ fn continue_after_tenure_extend() {
50355030
// Verify that the miner can continue mining in the tenure with the tenure extend
50365031
info!("------------------------- Mine After Tenure Extend -------------------------");
50375032
let mut sender_nonce = 0;
5038-
blocks_processed_before = coord_channel
5033+
let mut blocks_processed_before = coord_channel
50395034
.lock()
50405035
.expect("Mutex poisoned")
50415036
.get_stacks_blocks_processed();

0 commit comments

Comments
 (0)