Companion for Substrate#8386 (#2634)

* Companion for Substrate#8386

https://github.com/paritytech/substrate/pull/8386

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2021-03-18 00:58:15 +01:00
committed by GitHub
parent 5e8c8c7676
commit f33f6badac
2 changed files with 148 additions and 147 deletions
+146 -145
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -234,7 +234,7 @@ fn new_partial<RuntimeApi, Executor>(
babe::BabeLink<Block> babe::BabeLink<Block>
), ),
grandpa::SharedVoterState, grandpa::SharedVoterState,
u64, // slot-duration std::time::Duration, // slot-duration
Option<Telemetry>, Option<Telemetry>,
) )
>, >,
@@ -798,7 +798,7 @@ pub fn new_full<RuntimeApi, Executor>(
path: config.database.path() path: config.database.path()
.ok_or(Error::DatabasePathRequired)? .ok_or(Error::DatabasePathRequired)?
.join("parachains").join("approval-voting"), .join("parachains").join("approval-voting"),
slot_duration_millis: slot_duration, slot_duration_millis: slot_duration.as_millis() as u64,
cache_size: None, // default is fine. cache_size: None, // default is fine.
}; };