Skip to content

Commit f713bae

Browse files
committed
Update v0.rs
1 parent 77760d4 commit f713bae

File tree

1 file changed

+9
-1
lines changed
  • testnet/stacks-node/src/tests/signer

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ use crate::nakamoto_node::miner::{
9999
TEST_P2P_BROADCAST_STALL,
100100
};
101101
use crate::nakamoto_node::stackerdb_listener::TEST_IGNORE_SIGNERS;
102-
use crate::neon::Counters;
102+
use crate::neon::{Counters, RunLoopCounter};
103103
use crate::run_loop::boot_nakamoto;
104104
use crate::tests::nakamoto_integrations::{
105105
boot_to_epoch_25, boot_to_epoch_3_reward_set, next_block_and, next_block_and_controller,
@@ -671,6 +671,14 @@ impl MultipleMinerTest {
671671
}
672672
}
673673

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+
674682
/// Boot node 1 to epoch 3.0 and wait for node 2 to catch up.
675683
pub fn boot_to_epoch_3(&mut self) {
676684
info!(

0 commit comments

Comments
 (0)