Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
raychu86 authored and howardwu committed Mar 23, 2024
1 parent 8e21015 commit 183b25d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions node/bft/src/bft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ mod tests {
use snarkos_node_bft_ledger_service::MockLedgerService;
use snarkos_node_bft_storage_service::BFTMemoryService;
use snarkvm::{
console::account::{Address, PrivateKey},
ledger::{
committee::Committee,
narwhal::batch_certificate::test_helpers::{sample_batch_certificate, sample_batch_certificate_for_round},
Expand All @@ -841,7 +842,7 @@ mod tests {
};

use anyhow::Result;
use indexmap::IndexSet;
use indexmap::{IndexMap, IndexSet};
use std::sync::{atomic::Ordering, Arc};

type CurrentNetwork = snarkvm::console::network::Testnet3;
Expand Down Expand Up @@ -1361,9 +1362,7 @@ mod tests {
2. Run a separate bootup BFT that syncs with a set of pre shutdown certificates, and then commits a second leader normally over a set of post shutdown certificates.
3. Observe that the uninterrupted BFT and the bootup BFT end in the same state.
*/

use indexmap::{IndexMap, IndexSet};
use snarkvm::console::account::{Address, PrivateKey};

let rng = &mut TestRng::default();

Expand Down Expand Up @@ -1583,9 +1582,6 @@ mod tests {
2. Observe that in the commit subdag of the second leader certificate, there are no repeated vertices from the pre shutdown certificates.
*/

use indexmap::{IndexMap, IndexSet};
use snarkvm::console::account::{Address, PrivateKey};

let rng = &mut TestRng::default();

// Initialize the round parameters.
Expand Down

0 comments on commit 183b25d

Please sign in to comment.