Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillLykov committed Feb 20, 2022
1 parent bb1c3de commit 974ff01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion transaction-dos/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ fn make_dos_message(
Message::new(&instructions, Some(&keypair.pubkey()))
}

/// creates large transactions that all touch the same set of accounts,
/// so they can't be parallelized
///
#[allow(clippy::too_many_arguments)]
fn run_transactions_dos(
entrypoint_addr: SocketAddr,
Expand Down Expand Up @@ -701,7 +704,6 @@ pub mod test {
.collect();
let account_keypair_refs: Vec<_> = account_keypairs.iter().collect();
let mut start = Measure::start("total accounts run");

run_transactions_dos(
cluster.entry_point_info.rpc,
faucet_addr,
Expand Down

0 comments on commit 974ff01

Please sign in to comment.