Polkadot integration (#542)

* kusama primitives + client

* polkadot primitives + client

* lost Chain definitions

* fix compilation and fmt

* Update primitives/runtime/src/lib.rs

Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>

Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
This commit is contained in:
Svyatoslav Nikolsky
2020-12-04 18:46:35 +03:00
committed by Bastian Köcher
parent 81a3e7cce3
commit 2d08a9d213
12 changed files with 526 additions and 2 deletions
+1 -2
View File
@@ -40,8 +40,7 @@ pub trait Chain: ChainBase {
/// The user account identifier type for the runtime.
type AccountId: Parameter + Member + MaybeSerializeDeserialize + Debug + MaybeDisplay + Ord + Default;
/// Account index (aka nonce) type. This stores the number of previous transactions associated
/// with a sender account.
/// Index of a transaction used by the chain.
type Index: Parameter
+ Member
+ MaybeSerialize