Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Aug 15, 2024
1 parent 5af5e59 commit 7e7486a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 19 deletions.
3 changes: 1 addition & 2 deletions marketplace-builder/src/bin/marketplace-builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ use std::{num::NonZeroUsize, path::PathBuf, time::Duration};
use async_compatibility_layer::logging::{setup_backtrace, setup_logging};
use clap::Parser;
use espresso_types::{
eth_signature_key::EthKeyPair, parse_duration, FeeAmount, NamespaceId,
SequencerVersions,
eth_signature_key::EthKeyPair, parse_duration, FeeAmount, NamespaceId, SequencerVersions,
};
use hotshot::traits::ValidatedState;
use hotshot_types::{
Expand Down
10 changes: 3 additions & 7 deletions sequencer/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,7 @@ pub mod test_helpers {
};
use hotshot::types::{Event, EventType};
use hotshot_contract_adapter::light_client::ParsedLightClientState;



use hotshot_types::{
event::LeafInfo,
traits::{metrics::NoMetrics, node_implementation::ConsensusTime},
Expand Down Expand Up @@ -877,7 +876,7 @@ mod api_tests {
use ethers::utils::Anvil;
use futures::stream::StreamExt;
use hotshot_query_service::availability::{LeafQueryData, VidCommonQueryData};

use portpicker::pick_unused_port;
use sequencer_utils::test_utils::setup_test;
use surf_disco::Client;
Expand Down Expand Up @@ -1095,10 +1094,7 @@ mod test {
};
use hotshot_types::{
event::LeafInfo,
traits::{
metrics::NoMetrics,
node_implementation::ConsensusTime,
},
traits::{metrics::NoMetrics, node_implementation::ConsensusTime},
ValidatorConfig,
};
use jf_merkle_tree::prelude::{MerkleProof, Sha3Node};
Expand Down
3 changes: 1 addition & 2 deletions sequencer/src/bin/espresso-bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ use async_std::{sync::Arc, task::sleep};
use clap::{Parser, Subcommand};
use contract_bindings::fee_contract::FeeContract;
use espresso_types::{
eth_signature_key::EthKeyPair, FeeAccount, FeeAmount, FeeMerkleTree, Header,
SequencerVersions,
eth_signature_key::EthKeyPair, FeeAccount, FeeAmount, FeeMerkleTree, Header, SequencerVersions,
};
use ethers::{
middleware::{Middleware, SignerMiddleware},
Expand Down
10 changes: 2 additions & 8 deletions sequencer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ use clap::Parser;
use espresso_types::{SequencerVersions, SolverAuctionResultsProvider};
use futures::future::FutureExt;
use hotshot::MarketplaceConfig;
use hotshot_types::traits::{
metrics::NoMetrics,
node_implementation::Versions,
};
use hotshot_types::traits::{metrics::NoMetrics, node_implementation::Versions};
use sequencer::{
api::{self, data_source::DataSourceOptions},
init_node,
Expand Down Expand Up @@ -195,10 +192,7 @@ mod test {
use async_std::task::spawn;

use espresso_types::PubKey;
use hotshot_types::{
light_client::StateKeyPair,
traits::signature_key::SignatureKey,
};
use hotshot_types::{light_client::StateKeyPair, traits::signature_key::SignatureKey};
use portpicker::pick_unused_port;
use sequencer::{
api::options::{Http, Status},
Expand Down

0 comments on commit 7e7486a

Please sign in to comment.