Update latest substrate master (#462)

* update substrate to latest polkadot-master

* fix test runtime
This commit is contained in:
André Silva authored and Bastian Köcher committed 2019-10-08 08:44:29 +02:00
1 parent 9d3dd691b6
commit 9c7845b824
3 files changed
+232 -200

No files matched your search

+225 -199
View File
File diff suppressed because it is too large. Load diff
+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! {