Update latest substrate master (#462)

* update substrate to latest polkadot-master

* fix test runtime
This commit is contained in:
André Silva
2019-10-08 07:44:29 +01:00
committed by Bastian Köcher
parent 9d3dd691b6
commit 9c7845b824
3 changed files with 232 additions and 200 deletions
+4 -1
View File
@@ -99,7 +99,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("kusama"),
impl_name: create_runtime_str!("parity-kusama"),
authoring_version: 1,
spec_version: 1003,
spec_version: 1004,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
};
@@ -174,6 +174,9 @@ parameter_types! {
impl babe::Trait for Runtime {
type EpochDuration = EpochDuration;
type ExpectedBlockTime = ExpectedBlockTime;
// session module is the trigger
type EpochChangeTrigger = babe::ExternalTrigger;
}
impl indices::Trait for Runtime {
+3
View File
@@ -981,6 +981,9 @@ mod tests {
impl babe::Trait for Test {
type EpochDuration = EpochDuration;
type ExpectedBlockTime = ExpectedBlockTime;
// session module is the trigger
type EpochChangeTrigger = babe::ExternalTrigger;
}
parameter_types! {