mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 21:49:49 +00:00
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:
1 parent
5e8c8c7676
commit
f33f6badac
2 files changed
+148
-147
No files matched your search
Generated
+146
-145
File diff suppressed because it is too large.
Load diff
@@ -234,7 +234,7 @@ fn new_partial<RuntimeApi, Executor>(
|
||||
babe::BabeLink<Block>
|
||||
),
|
||||
grandpa::SharedVoterState,
|
||||
u64, // slot-duration
|
||||
std::time::Duration, // slot-duration
|
||||
Option<Telemetry>,
|
||||
)
|
||||
>,
|
||||
@@ -798,7 +798,7 @@ pub fn new_full<RuntimeApi, Executor>(
|
||||
path: config.database.path()
|
||||
.ok_or(Error::DatabasePathRequired)?
|
||||
.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.
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user