Skip to content

Commit

Permalink
Merge pull request #105 from automata-network/fix/fmt
Browse files Browse the repository at this point in the history
cargo fmt
  • Loading branch information
RyuH1 authored Nov 2, 2021
2 parents 7a62f1b + 3daf360 commit 40c1877
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ use finitestate::{constants::currency::*, GenesisConfig, StakerStatus};
use finitestate_runtime as finitestate;
#[cfg(feature = "finitestate")]
use frame_support::PalletId;
#[cfg(feature = "finitestate")]
use sp_core::{H160, U256};
use hex_literal::hex;
use pallet_im_online::sr25519::AuthorityId as ImOnlineId;
use sc_chain_spec::ChainSpecExtension;
Expand All @@ -34,12 +32,14 @@ use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId;
use sp_consensus_babe::AuthorityId as BabeId;
use sp_core::{
crypto::{Ss58Codec, UncheckedInto},
sr25519, Pair, Public
sr25519, Pair, Public,
};
#[cfg(feature = "finitestate")]
use sp_core::{H160, U256};
use sp_finality_grandpa::AuthorityId as GrandpaId;
use sp_runtime::traits::{IdentifyAccount, Verify};
#[cfg(feature = "finitestate")]
use sp_runtime::traits::AccountIdConversion;
use sp_runtime::traits::{IdentifyAccount, Verify};

#[cfg(feature = "automata")]
pub type AutomataChainSpec = sc_service::GenericChainSpec<automata::GenesisConfig, Extensions>;
Expand Down
4 changes: 2 additions & 2 deletions runtime/automata/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ use sp_core::{
};
// use sp_io::hashing::blake2_128;
use sp_runtime::traits::{
BlakeTwo256, Block as BlockT, ConvertInto, Extrinsic, NumberFor,
SaturatedConversion, StaticLookup, Verify,
BlakeTwo256, Block as BlockT, ConvertInto, Extrinsic, NumberFor, SaturatedConversion,
StaticLookup, Verify,
};
use sp_runtime::{
create_runtime_str, generic, impl_opaque_keys,
Expand Down

0 comments on commit 40c1877

Please sign in to comment.