mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
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:
committed by
Bastian Köcher
parent
4d19de4bd9
commit
9b6e630816
@@ -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"
|
||||
|
||||
@@ -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![],
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user