Integrate the claims module (#355)

* Integrate the claims.

* Remove accidetnal code.

* Update runtime/src/lib.rs

Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>

* Add Config.

* Introduce claims to config

* Expose claims module signing Prefix (#358)

* Update parking_lot, bette trait args
This commit is contained in:
Gavin Wood
2019-08-07 23:49:32 +02:00
committed by Bastian Köcher
parent 4d19de4bd9
commit 9b6e630816
9 changed files with 70 additions and 14 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
parking_lot = "0.7.1"
parking_lot = "0.9.0"
lazy_static = "1.0"
log = "0.4.6"
slog = "^2"
+7
View File
@@ -22,6 +22,7 @@ use polkadot_runtime::{
GenesisConfig, CouncilConfig, ElectionsConfig, DemocracyConfig, SystemConfig, AuraConfig,
SessionConfig, StakingConfig, BalancesConfig, Perbill, SessionKeys, TechnicalCommitteeConfig,
GrandpaConfig, SudoConfig, IndicesConfig, CuratedGrandpaConfig, StakerStatus, WASM_BINARY,
ClaimsConfig,
};
use polkadot_runtime::constants::{currency::DOTS, time::*};
use telemetry::TelemetryEndpoints;
@@ -126,6 +127,9 @@ fn staging_testnet_config_genesis() -> GenesisConfig {
curated_grandpa: Some(CuratedGrandpaConfig {
shuffle_period: 1024,
}),
claims: Some(ClaimsConfig {
claims: vec![],
})
}
}
@@ -256,6 +260,9 @@ pub fn testnet_genesis(
curated_grandpa: Some(CuratedGrandpaConfig {
shuffle_period: 1024,
}),
claims: Some(ClaimsConfig {
claims: vec![],
})
}
}