* Bump Substrate and versions

* Bump Substrate
This commit is contained in:
Gavin Wood
2020-01-09 01:09:48 +01:00
committed by GitHub
parent 06386558ae
commit d9b8ba7707
19 changed files with 185 additions and 186 deletions
+3 -4
View File
@@ -72,13 +72,12 @@ use constants::{time::*, currency::*};
#[cfg(feature = "std")]
include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
// Kusama version identifier;
/// Runtime version (Kusama).
pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("kusama"),
impl_name: create_runtime_str!("parity-kusama"),
authoring_version: 2,
spec_version: 1036,
spec_version: 1037,
impl_version: 2,
apis: RUNTIME_API_VERSIONS,
};
@@ -288,8 +287,8 @@ impl staking::Trait for Runtime {
type SessionsPerEra = SessionsPerEra;
type BondingDuration = BondingDuration;
type SlashDeferDuration = SlashDeferDuration;
// A super-majority of the council can cancel the slash.
type SlashCancelOrigin = collective::EnsureProportionAtLeast<_3, _4, AccountId, CouncilCollective>;
// A majority of the council can cancel the slash.
type SlashCancelOrigin = collective::EnsureProportionAtLeast<_1, _2, AccountId, CouncilCollective>;
type SessionInterface = Self;
type Time = Timestamp;
type RewardCurve = RewardCurve;