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 NikolskyandHernando Castano authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent 81a3e7cce3
commit 2d08a9d213
12 files changed
+526 -2

No files matched your search

+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