Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Jan 17, 2025
1 parent 47d1ce6 commit 8935353
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 7 additions & 1 deletion core/src/banking_simulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,13 @@ impl BankingSimulator {
});
let banking_tracer_channels = if let Some(pool) = unified_scheduler_pool {
let channels = retracer.create_channels_for_scheduler_pool(&pool);
ensure_banking_stage_setup(&pool, &bank_forks, &channels, &cluster_info_for_banking, &poh_recorder);
ensure_banking_stage_setup(
&pool,
&bank_forks,
&channels,
&cluster_info_for_banking,
&poh_recorder,
);
channels
} else {
retracer.create_channels(false)
Expand Down
7 changes: 2 additions & 5 deletions local-cluster/tests/local_cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5861,11 +5861,8 @@ fn test_randomly_mixed_block_production_methods_between_bootstrap_and_not() {
);

let num_nodes = BlockVerificationMethod::COUNT;
let mut config = ClusterConfig::new_with_equal_stakes(
num_nodes,
DEFAULT_MINT_LAMPORTS,
DEFAULT_NODE_STAKE,
);
let mut config =
ClusterConfig::new_with_equal_stakes(num_nodes, DEFAULT_MINT_LAMPORTS, DEFAULT_NODE_STAKE);

// Overwrite block_production_method with shuffled variants
let mut methods = BlockProductionMethod::iter().collect::<Vec<_>>();
Expand Down

0 comments on commit 8935353

Please sign in to comment.