Update to latest Substrate master (#783)

* Update to latest Substrate master

* Update wasm-builder and make `run` work
This commit is contained in:
Bastian Köcher
2020-01-22 12:27:28 +01:00
committed by GitHub
parent 5b129f1292
commit e6f4c36ed9
11 changed files with 377 additions and 434 deletions
+3 -4
View File
@@ -77,8 +77,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("kusama"),
impl_name: create_runtime_str!("parity-kusama"),
authoring_version: 2,
spec_version: 1042,
impl_version: 3,
spec_version: 1043,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
};
@@ -241,14 +241,13 @@ parameter_types! {
}
impl session::Trait for Runtime {
type OnSessionEnding = Staking;
type SessionManager = Staking;
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders;
type ShouldEndSession = Babe;
type Event = Event;
type Keys = SessionKeys;
type ValidatorId = AccountId;
type ValidatorIdOf = staking::StashOf<Self>;
type SelectInitialValidators = Staking;
type DisabledValidatorsThreshold = DisabledValidatorsThreshold;
}