Skip to content
  1. Dec 20, 2022
    • Michal Kucharczyk's avatar
      `BlockId` removal: refactor: `HeaderBackend::header` (#12874) · 548955a7
      Michal Kucharczyk authored
      * BlockId removal: refactor: HeaderBackend::header
      
      It changes the arguments of:
      - `HeaderBackend::header`,
      - `Client::header`,
      - `PeersClient::header`
      - `ChainApi::block_header`
      
      methods from: `BlockId<Block>` to: `Block::Hash`
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      
      * non-trivial usages of haeder(block_id) refactored
      
      This may required introduction of dedicated function:
      header_for_block_num
      
      * fmt
      
      * fix
      
      * doc fixed
      
      * ".git/.scripts/fmt.sh"
      
      * BlockId removal: refactor: HeaderBackend::expect_header
      
      It changes the arguments of `HeaderBackend::expect_header` method from: `BlockId<Block>` to: `Block::Hash`
      
      * ".git/.scripts/fmt.sh"
      
      * readme updated
      
      * ".git/.scripts/fmt.sh"
      
      * fix
      
      Co-authored-by: parity-processbot <>
      548955a7
  2. Dec 19, 2022
  3. Dec 17, 2022
  4. Dec 16, 2022
  5. Dec 15, 2022
  6. Dec 14, 2022
  7. Dec 13, 2022
  8. Dec 12, 2022
  9. Dec 11, 2022
  10. Dec 10, 2022
    • Ankan's avatar
      Safe desired targets call (#12826) · 1320daa3
      Ankan authored
      * checked call for desired targets
      
      * fix compile
      
      * fmt
      
      * fix tests
      
      * cleaner with and_then
      1320daa3
    • Bastian Köcher's avatar
      Ensure that we inform all tasks to stop before starting the 60 seconds shutdown (#12897) · 2f2e481d
      Bastian Köcher authored
      * Ensure that we inform all tasks to stop before starting the 60 seconds shutdown
      
      The change of waiting in maximum 60 seconds for the node to shutdown actually introduced a bug. We
      were actually waiting always 60 seconds as we didn't informed our tasks to shutdown. The solution to
      this problem is to drop the task manager as this will then inform all tasks to end. It also adds
      tests to ensure that the behaviors work as expected. (This should already have been done in the
      first pr! :()
      
      * ".git/.scripts/fmt.sh" 1
      
      Co-authored-by: command-bot <>
      2f2e481d
  11. Dec 09, 2022