Fix rustfmt check (#23296)
This commit is contained in:
parent
6872fc79ba
commit
d0e85c293f
|
@ -1,6 +1,3 @@
|
|||
use solana_program_runtime::timings::ExecuteTimingType;
|
||||
use std::ops::Index;
|
||||
|
||||
use {
|
||||
crate::{
|
||||
cluster_info_vote_listener::SlotVoteTracker,
|
||||
|
@ -9,10 +6,12 @@ use {
|
|||
replay_stage::SUPERMINORITY_THRESHOLD,
|
||||
},
|
||||
solana_ledger::blockstore_processor::{ConfirmationProgress, ConfirmationTiming},
|
||||
solana_program_runtime::timings::ExecuteTimingType,
|
||||
solana_runtime::{bank::Bank, bank_forks::BankForks, vote_account::VoteAccount},
|
||||
solana_sdk::{clock::Slot, hash::Hash, pubkey::Pubkey},
|
||||
std::{
|
||||
collections::{BTreeMap, HashMap, HashSet},
|
||||
ops::Index,
|
||||
sync::{Arc, RwLock},
|
||||
time::Instant,
|
||||
},
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
use solana_program_runtime::timings::ExecuteTimingType;
|
||||
|
||||
use {
|
||||
crate::{
|
||||
block_error::BlockError, blockstore::Blockstore, blockstore_db::BlockstoreError,
|
||||
|
@ -16,7 +14,7 @@ use {
|
|||
},
|
||||
solana_measure::measure::Measure,
|
||||
solana_metrics::{datapoint_error, inc_new_counter_debug},
|
||||
solana_program_runtime::timings::ExecuteTimings,
|
||||
solana_program_runtime::timings::{ExecuteTimingType, ExecuteTimings},
|
||||
solana_rayon_threadlimit::get_thread_count,
|
||||
solana_runtime::{
|
||||
accounts_db::{AccountShrinkThreshold, AccountsDbConfig},
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
use core::fmt;
|
||||
use enum_iterator::IntoEnumIterator;
|
||||
use std::ops::{Index, IndexMut};
|
||||
|
||||
use {
|
||||
core::fmt,
|
||||
enum_iterator::IntoEnumIterator,
|
||||
solana_sdk::{pubkey::Pubkey, saturating_add_assign},
|
||||
std::collections::HashMap,
|
||||
std::{
|
||||
collections::HashMap,
|
||||
ops::{Index, IndexMut},
|
||||
},
|
||||
};
|
||||
|
||||
#[derive(Default, Debug, PartialEq)]
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
//! It offers a high-level API that signs transactions
|
||||
//! on behalf of the caller, and a low-level API for when they have
|
||||
//! already been signed and verified.
|
||||
use solana_program_runtime::timings::ExecuteTimingType;
|
||||
#[allow(deprecated)]
|
||||
use solana_sdk::recent_blockhashes_account;
|
||||
use {
|
||||
|
@ -82,7 +81,7 @@ use {
|
|||
},
|
||||
log_collector::LogCollector,
|
||||
sysvar_cache::SysvarCache,
|
||||
timings::ExecuteTimings,
|
||||
timings::{ExecuteTimingType, ExecuteTimings},
|
||||
},
|
||||
solana_sdk::{
|
||||
account::{
|
||||
|
|
Loading…
Reference in New Issue