File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -671,14 +671,6 @@ impl MultipleMinerTest {
671
671
}
672
672
}
673
673
674
- pub fn get_primary_proposals_submitted(&self) -> RunLoopCounter {
675
- self.signer_test
676
- .running_nodes
677
- .counters
678
- .naka_proposed_blocks
679
- .clone()
680
- }
681
-
682
674
/// Boot node 1 to epoch 3.0 and wait for node 2 to catch up.
683
675
pub fn boot_to_epoch_3(&mut self) {
684
676
info!(
@@ -15263,15 +15255,15 @@ fn miner_stackerdb_version_rollover() {
15263
15255
let mut stackerdb =
15264
15256
StackerDBSession::new(&conf_2.node.rpc_bind, boot_code_id(MINERS_NAME, false));
15265
15257
15266
- let proposals_before = miners.get_primary_proposals_submitted().get( );
15258
+ let proposals_before = miners.get_counters_for_miner(1).naka_proposed_blocks.load(Ordering::SeqCst );
15267
15259
15268
15260
*proxy_1.drop_control.lock().unwrap() = true;
15269
15261
*proxy_2.drop_control.lock().unwrap() = true;
15270
15262
15271
15263
let (_, _sent_nonce) = miners.send_transfer_tx();
15272
15264
15273
15265
wait_for(30, || {
15274
- let proposals = miners.get_primary_proposals_submitted().get( );
15266
+ let proposals = miners.get_counters_for_miner(1).naka_proposed_blocks.load(Ordering::SeqCst );
15275
15267
Ok(proposals > proposals_before)
15276
15268
})
15277
15269
.unwrap();
You can’t perform that action at this time.
0 commit comments