Commit 318889f0 authored by André Silva's avatar André Silva Committed by Bastian Köcher
Browse files

Update latest substrate master (#462)

* update substrate to latest polkadot-master

* fix test runtime
parent d517dbeb
Pipeline #53491 passed with stages
in 19 minutes and 49 seconds
This diff is collapsed.
...@@ -99,7 +99,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { ...@@ -99,7 +99,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("kusama"), spec_name: create_runtime_str!("kusama"),
impl_name: create_runtime_str!("parity-kusama"), impl_name: create_runtime_str!("parity-kusama"),
authoring_version: 1, authoring_version: 1,
spec_version: 1003, spec_version: 1004,
impl_version: 0, impl_version: 0,
apis: RUNTIME_API_VERSIONS, apis: RUNTIME_API_VERSIONS,
}; };
...@@ -174,6 +174,9 @@ parameter_types! { ...@@ -174,6 +174,9 @@ parameter_types! {
impl babe::Trait for Runtime { impl babe::Trait for Runtime {
type EpochDuration = EpochDuration; type EpochDuration = EpochDuration;
type ExpectedBlockTime = ExpectedBlockTime; type ExpectedBlockTime = ExpectedBlockTime;
// session module is the trigger
type EpochChangeTrigger = babe::ExternalTrigger;
} }
impl indices::Trait for Runtime { impl indices::Trait for Runtime {
......
...@@ -981,6 +981,9 @@ mod tests { ...@@ -981,6 +981,9 @@ mod tests {
impl babe::Trait for Test { impl babe::Trait for Test {
type EpochDuration = EpochDuration; type EpochDuration = EpochDuration;
type ExpectedBlockTime = ExpectedBlockTime; type ExpectedBlockTime = ExpectedBlockTime;
// session module is the trigger
type EpochChangeTrigger = babe::ExternalTrigger;
} }
parameter_types! { parameter_types! {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment