Skip to content

Commit a1422bc

Browse files
committed
fix fmt
1 parent 188800b commit a1422bc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

chain/open-block/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use anyhow::{bail, format_err, Result};
77
use starcoin_accumulator::{node::AccumulatorStoreType, Accumulator, MerkleAccumulator};
88
use starcoin_chain_api::ExcludedTxns;
99
use starcoin_crypto::HashValue;
10-
use starcoin_executor::{execute_block_transactions, execute_transactions, VMMetrics};
1110
use starcoin_executor::BlockExecutedData as BlockExecutedData1;
11+
use starcoin_executor::{execute_block_transactions, execute_transactions, VMMetrics};
1212
use starcoin_logger::prelude::*;
1313
use starcoin_state_api::{ChainStateReader, ChainStateWriter};
1414
use starcoin_statedb::ChainStateDB;

chain/src/chain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2166,8 +2166,8 @@ impl ChainWriter for BlockChain {
21662166
}
21672167
}
21682168

2169-
use starcoin_vm2_executor::block_executor::BlockExecutedData as BlockExecutedData2;
21702169
use crate::txn_output_cache::CachedBlockOutputs;
2170+
use starcoin_vm2_executor::block_executor::BlockExecutedData as BlockExecutedData2;
21712171

21722172
/// Helper function to execute block transactions with optional cache
21732173
fn execute_block_transactions_with_cache(

miner/src/create_block_template/block_builder_service.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use futures::executor::block_on;
66
use rand::seq::SliceRandom;
77
use rand::Rng;
88
use starcoin_chain::{
9-
get_merge_bound_hash, global_block_state_cache,
10-
txn_output_cache::global_txn_output_cache, BlockChain, CachedBlockState, ChainReader,
9+
get_merge_bound_hash, global_block_state_cache, txn_output_cache::global_txn_output_cache,
10+
BlockChain, CachedBlockState, ChainReader,
1111
};
1212
use starcoin_config::upgrade_config::vm1_offline_height;
1313
use starcoin_config::NodeConfig;

0 commit comments

Comments
 (0)