mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +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:
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