Reduce provisioner work (#12749)
* Move create_inherent_data call to use side * Make provide_inherent_data async * Fix tests * Apply suggestions from code review Co-authored-by:Bastian Köcher <git@kchr.de> * Log errors * Fix test * Fix test * fix * Deduplicate test code * fix * flag * Update client/consensus/slots/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Revert "Deduplicate test code" This reverts commit ba46adbe089329c78cd69ccdb08e27ed67bd77cf. * Fix test * remove commented out code * minor to start CI run * start CI * Update client/consensus/slots/src/lib.rs Co-authored-by:
Marcin S. <marcin@bytedude.com> * Apply PR suggestions * Apply PR suggestions * Update client/consensus/slots/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * minor * kickoff CI * PR suggestions * Compute remaining duration instead of using slot_info.duration * Don't rely on sub implementation for Instant * Apply PR suggestions * Use saturating_duration_since Co-authored-by:
Bastian Köcher <git@kchr.de> Co-authored-by:
Marcin S. <marcin@bytedude.com> Co-authored-by: parity-processbot <>
Showing
- substrate/Cargo.lock 1 addition, 0 deletionssubstrate/Cargo.lock
- substrate/bin/node-template/node/Cargo.toml 1 addition, 0 deletionssubstrate/bin/node-template/node/Cargo.toml
- substrate/bin/node-template/node/src/benchmarking.rs 1 addition, 2 deletionssubstrate/bin/node-template/node/src/benchmarking.rs
- substrate/bin/node/bench/src/construct.rs 3 additions, 1 deletionsubstrate/bin/node/bench/src/construct.rs
- substrate/bin/node/cli/src/benchmarking.rs 1 addition, 2 deletionssubstrate/bin/node/cli/src/benchmarking.rs
- substrate/bin/node/cli/src/service.rs 9 additions, 7 deletionssubstrate/bin/node/cli/src/service.rs
- substrate/client/consensus/aura/src/import_queue.rs 1 addition, 0 deletionssubstrate/client/consensus/aura/src/import_queue.rs
- substrate/client/consensus/aura/src/lib.rs 2 additions, 2 deletionssubstrate/client/consensus/aura/src/lib.rs
- substrate/client/consensus/babe/src/lib.rs 1 addition, 0 deletionssubstrate/client/consensus/babe/src/lib.rs
- substrate/client/consensus/manual-seal/src/consensus/timestamp.rs 1 addition, 1 deletion...e/client/consensus/manual-seal/src/consensus/timestamp.rs
- substrate/client/consensus/manual-seal/src/seal_block.rs 1 addition, 1 deletionsubstrate/client/consensus/manual-seal/src/seal_block.rs
- substrate/client/consensus/pow/src/lib.rs 2 additions, 1 deletionsubstrate/client/consensus/pow/src/lib.rs
- substrate/client/consensus/slots/src/lib.rs 46 additions, 4 deletionssubstrate/client/consensus/slots/src/lib.rs
- substrate/client/consensus/slots/src/slots.rs 13 additions, 18 deletionssubstrate/client/consensus/slots/src/slots.rs
- substrate/primitives/authorship/src/lib.rs 1 addition, 1 deletionsubstrate/primitives/authorship/src/lib.rs
- substrate/primitives/consensus/aura/src/inherents.rs 1 addition, 1 deletionsubstrate/primitives/consensus/aura/src/inherents.rs
- substrate/primitives/consensus/babe/src/inherents.rs 1 addition, 1 deletionsubstrate/primitives/consensus/babe/src/inherents.rs
- substrate/primitives/inherents/src/client_side.rs 5 additions, 5 deletionssubstrate/primitives/inherents/src/client_side.rs
- substrate/primitives/inherents/src/lib.rs 4 additions, 4 deletionssubstrate/primitives/inherents/src/lib.rs
- substrate/primitives/timestamp/src/lib.rs 1 addition, 1 deletionsubstrate/primitives/timestamp/src/lib.rs
Please register or sign in to comment