diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index 990a4c1651..a8ee37e8f7 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -1,5 +1,5 @@ use dock_testnet_runtime::{ - AccountId, AuraConfig, BalancesConfig, GenesisConfig, GrandpaConfig, Signature, + AuraConfig, BalancesConfig, GenesisConfig, GrandpaConfig, SudoConfig, SystemConfig, WASM_BINARY, }; use sp_finality_grandpa::AuthorityId as GrandpaId; @@ -7,7 +7,12 @@ use sc_service::ChainType; use sp_consensus_aura::sr25519::AuthorityId as AuraId; use sp_core::crypto::Ss58Codec; use sp_core::{sr25519, Pair, Public}; -use sp_runtime::traits::{IdentifyAccount, Verify}; +use sp_runtime::{ + traits::{IdentifyAccount, Verify}, + MultiSignature, +}; + +type AccountId = <::Signer as IdentifyAccount>::AccountId; // Note this is the URL for the telemetry server //const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/"; @@ -22,7 +27,7 @@ pub fn get_from_seed(seed: &str) -> ::Pu .public() } -type AccountPublic = ::Signer; +type AccountPublic = ::Signer; /// Helper function to generate an account ID from seed pub fn get_account_id_from_seed(seed: &str) -> AccountId diff --git a/runtime/src/blob.rs b/runtime/src/blob.rs index a89e33fa10..6532471a4a 100644 --- a/runtime/src/blob.rs +++ b/runtime/src/blob.rs @@ -6,6 +6,7 @@ use frame_support::{ }; use system::ensure_signed; use codec::{Decode, Encode}; +use alloc::vec::Vec; use crate::did::{self, Did, DidSignature}; diff --git a/src/main.rs b/src/main.rs deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/service.rs b/src/service.rs deleted file mode 100644 index e69de29bb2..0000000000