Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions crates/apollo_integration_tests/src/integration_test_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ use crate::monitoring_utils::{
await_batcher_block,
await_block,
await_sync_block,
await_txs_accepted,
get_consensus_decisions_reached,
sequencer_num_accepted_txs,
verify_txs_accepted,
Expand Down Expand Up @@ -751,14 +750,6 @@ impl IntegrationTestManager {
self.rpc_verify_class_declared(BLOCK_TO_WAIT_FOR_DECLARE).await;
}

pub async fn await_txs_accepted_on_all_running_nodes(&mut self, target_n_txs: usize) {
self.perform_action_on_all_running_nodes(|running_node| {
let monitoring_client = running_node.node_setup.state_sync_monitoring_client();
await_txs_accepted(monitoring_client, running_node.get_node_index(), target_n_txs)
})
.await;
}

/// This function tests and verifies the integration of the transaction flow.
///
/// # Parameters
Expand Down Expand Up @@ -1042,11 +1033,6 @@ impl IntegrationTestManager {
.await
}

/// This function returns the number of accepted transactions on all running nodes.
pub async fn get_num_accepted_txs_on_all_running_nodes(&self) -> HashMap<usize, usize> {
self.get_num_accepted_txs_on_running_nodes(&self.get_running_node_indices()).await
}

pub async fn assert_no_reverted_txs_on_all_running_nodes(&self) {
self.perform_action_on_all_running_nodes(|running_node| async move {
let sequencer_idx = running_node.get_node_index();
Expand Down
Loading