Skip to content

Commit

Permalink
[fix] reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
akichidis committed Oct 31, 2024
1 parent b379e3d commit 13eec9e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions crates/sui-core/src/unit_tests/consensus_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ use move_core_types::{account_address::AccountAddress, ident_str};
use narwhal_types::Transactions;
use narwhal_types::TransactionsServer;
use narwhal_types::{Empty, TransactionProto};
use parking_lot::Mutex;
use rand::rngs::StdRng;
use rand::SeedableRng;
use parking_lot::Mutex;
use sui_network::tonic;
use sui_types::crypto::{deterministic_random_account_key, AccountKeyPair};
use sui_types::gas::GasCostSummary;
Expand Down Expand Up @@ -393,7 +393,12 @@ async fn submit_checkpoint_signature_to_consensus_adapter() {
let epoch_store = state.epoch_store_for_testing();

// Make a new consensus adapter instance.
let adapter = make_consensus_adapter_for_test(state, HashSet::new(), false, vec![SubmitResponse::NoStatusWaiter(BlockStatus::Sequenced)]);
let adapter = make_consensus_adapter_for_test(
state,
HashSet::new(),
false,
vec![SubmitResponse::NoStatusWaiter(BlockStatus::Sequenced)],
);

let checkpoint_summary = CheckpointSummary::new(
&ProtocolConfig::get_for_max_version_UNSAFE(),
Expand Down

0 comments on commit 13eec9e

Please sign in to comment.