Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update crypto import
  • Loading branch information
shawntabrizi committed Oct 11, 2019
commit 39a51773dd875da74fb055e731241788f3c837fa
4 changes: 1 addition & 3 deletions node-template/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use client::{
block_builder::api::{CheckInherentsResult, InherentData, self as block_builder_api},
runtime_api as client_api, impl_runtime_apis
};
use aura_primitives::sr25519::AuthorityId as AuraId;
use version::RuntimeVersion;
#[cfg(feature = "std")]
use version::NativeVersion;
Expand Down Expand Up @@ -58,9 +59,6 @@ pub type Hash = primitives::H256;
/// Digest item type.
pub type DigestItem = generic::DigestItem<Hash>;

/// The SR25519 pub key of an session that belongs to an Aura authority of the chain.
pub type AuraId = aura_primitives::sr25519::AuthorityId;

/// Used for the module template in `./template.rs`
mod template;

Expand Down
4 changes: 2 additions & 2 deletions node-template/src/chain_spec.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use primitives::{Pair, Public};
use node_template_runtime::{
AuraId, AccountId, AuraConfig, BalancesConfig, GenesisConfig,
AccountId, AuraConfig, BalancesConfig, GenesisConfig,
SudoConfig, IndicesConfig, SystemConfig, WASM_BINARY,
};
use aura_primitives::sr25519::AuthorityPair as AuraPair;
use aura_primitives::sr25519::{AuthorityId as AuraId, AuthorityPair as AuraPair};
use substrate_service;

// Note this is the URL for the telemetry server
Expand Down