Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki committed Aug 24, 2023
1 parent dce2d14 commit ca59b44
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
8 changes: 4 additions & 4 deletions container-chains/templates/frontier/node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.

use sc_executor::HeapAllocStrategy;
use sc_executor::WasmExecutor;
use sc_executor::DEFAULT_HEAP_ALLOC_STRATEGY;
use sc_network::config::FullNetworkConfiguration;
use {
sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY},
sc_network::config::FullNetworkConfiguration,
};

// std
use std::{
Expand Down
4 changes: 2 additions & 2 deletions container-chains/templates/frontier/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ use {
dispatch::{DispatchClass, GetDispatchInfo},
parameter_types,
traits::{
ConstU32, ConstU64, ConstU8, Contains, Currency as CurrencyT, Everything, Imbalance, OnFinalize,
OnUnbalanced,
ConstU32, ConstU64, ConstU8, Contains, Currency as CurrencyT, Everything, Imbalance,
OnFinalize, OnUnbalanced,
},
weights::{
constants::{
Expand Down
7 changes: 2 additions & 5 deletions container-chains/templates/simple/node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@

// You should have received a copy of the GNU General Public License
// along with Tanssi. If not, see <http://www.gnu.org/licenses/>.
use sc_executor::HeapAllocStrategy;
use sc_executor::WasmExecutor;
use sc_executor::DEFAULT_HEAP_ALLOC_STRATEGY;
use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY};

// std
use std::{sync::Arc, time::Duration};

use cumulus_client_cli::CollatorOptions;
use sc_network::config::FullNetworkConfiguration;
use {cumulus_client_cli::CollatorOptions, sc_network::config::FullNetworkConfiguration};
// Local Runtime Types
use container_chain_template_simple_runtime::{opaque::Block, RuntimeApi};

Expand Down

0 comments on commit ca59b44

Please sign in to comment.