1. 18 Dec, 2020 1 commit
    • asynchronous rob's avatar
      Add candidate info to OccupiedCore (#2134) · af0aff96
      asynchronous rob authored
      * guide: add candidate information to OccupiedCore
      * add descriptor and hash to occupied core type
      * guide: add candidate hash to inclusion
      * runtime: return candidate info in core state
      * bitfield signing: stop querying runtime as much
      * minimize going to runtime in availability distribution
      * fix availability distribution tests
      * guide: remove para ID from Occupied core
      * get all crates compiling
  2. 17 Dec, 2020 6 commits
  3. 16 Dec, 2020 2 commits
    • Sergey Pepyakin's avatar
      Add logging to collation-generation (#2121) · 782cf447
      Sergey Pepyakin authored
      Right now if the collation is not happening one will have to sprinkle
      log statements and then recompile the code. It's doubly annoying if that
      happens when working with Cumulus: that means one has to resort to
      .cargo/config's `paths` or `diener`, which both are not ideal.
      This just adds some verbose logging to save the investigators some time
      when looking why the collations are not happening
    • RK's avatar
      Companion for #7536 (Pallet Treasury Refactor) (#2025) · 465e3580
      RK authored
      * wk2048 | D6 | issue-7143-treasury-refactor | integration
      * wk2048 | D6 | issue-7143-treasury-refactor | integration | p2
      * trait -> config
      * fix weight files and import
      * missed some
      * fix import
      * fix imports
      * alphabetize
      * fix config traits
      * fix trait
      * update traits
      * update weights
      * "Update Substrate"
      * fix features
      * Update runtime/kusama/src/lib.rs
      * Update runtime/polkadot/src/lib.rs
      * add bounties and tips in proxy filters
      * remove unused
      * remove unused
      * remove unused
      Co-authored-by: Shawn Tabrizi's avatarShawn Tabrizi <shawntabrizi@gmail.com>
      Co-authored-by: parity-processbot <>
      Co-authored-by: thiolliere's avatarthiolliere <gui.thiolliere@gmail.com>
  4. 15 Dec, 2020 2 commits
  5. 11 Dec, 2020 2 commits
  6. 10 Dec, 2020 1 commit
    • Bernhard Schuster's avatar
      addition error definitions (#2107) · dca93d01
      Bernhard Schuster authored
      * remove low information density error doc comments
      * another round of error dancing
      * fix compilation
      * remove stale `None` argument
      * adjust test, minor slip in command
      * only add AvailabilityError for full node features
      * another None where none shuld be
  7. 09 Dec, 2020 1 commit
  8. 08 Dec, 2020 1 commit
  9. 07 Dec, 2020 6 commits
  10. 04 Dec, 2020 3 commits
    • Bastian Köcher's avatar
      Add an upper number of maximum parallel runtime api requests (#2069) · d7257026
      Bastian Köcher authored
      * Add an upper number of maximum parallel runtime api requests
      Instead of spawning all runtime api requests in the background and using
      all wasm instances. This pr adds a maximum number of parallel requests.
      * Update node/core/runtime-api/src/lib.rs
      Co-authored-by: Sergey Pepyakin's avatarSergei Shulepov <sergei@parity.io>
      * Review feedback
      * Increase instances
      * Add warning
      * Update node/core/runtime-api/src/lib.rs
      Co-authored-by: Sergey Pepyakin's avatarSergei Shulepov <sergei@parity.io>
      Co-authored-by: Sergey Pepyakin's avatarSergei Shulepov <sergei@parity.io>
    • Sergey Pepyakin's avatar
    • Peter Goodspeed-Niklaus's avatar
      do not store backed candidates in the provisioner (#1909) · 113ae827
      Peter Goodspeed-Niklaus authored
      * guide: non-semantic changes
      * guide: update per the issue description
      * GetBackedCandidates operates on multiple hashes now
      * GetBackedCandidates still needs a relay parent
      * implement changes specified in guide
      * distinguish between various occasions for canceled oneshots
      * add tracing info to getbackedcandidates
      * REVERT ME: add tracing messages for GetBackedCandidates
      Note that these messages are only sometimes actually passed on to the
      candidate backing subsystem, with the consequence that it is
      unexpectedly frequent that the provisioner fails to create its
      provisionable data.
      * REVERT ME: more tracing logging
      * REVERT ME: log when CandidateBackingJob receives any message at all
      * REVERT ME: log when send_msg sends a message to a job
      * fix candidate-backing tests
      * streamline GetBackedCandidates
      This uses table.attested_candidate instead of table.get_candidate, because
      it's not obvious how to get a BackedCandidate from just a
      * REVERT ME: more logging tracing job lifespans
      * promote warning about job premature demise
      * don't terminate CandiateBackingJob::run_loop in event of failure to process message
      * Revert "REVERT ME: more logging tracing job lifespans"
      This reverts commit 7365f2fb.
      * Revert "REVERT ME: log when send_msg sends a message to a job"
      This reverts commit 58e46aad.
      * Revert "REVERT ME: log when CandidateBackingJob receives any message at all"
      This reverts commit 0d6f3841.
      * Revert "REVERT ME: more tracing logging"
      This reverts commit 675fd262.
      * Revert "REVERT ME: add tracing messages for GetBackedCandidates"
      This reverts commit e09e1564.
      * formatting
      * add logging message to CandidateBackingJob::run_loop start
      * REVERT ME: add tracing to candidate-backing job creation
      * run candidatebacking loop even if no assignment
      * use unique error variants for each canceled oneshot
      * Revert "REVERT ME: add tracing to candidate-backing job creation"
      This reverts commit 8ce5f4f0.
      * try_runtime_api more to reduce silent exits
      * add sanity check that returned backed candidates preserve ordering
      * remove redundant err attribute
  11. 03 Dec, 2020 2 commits
  12. 02 Dec, 2020 4 commits
  13. 01 Dec, 2020 2 commits
  14. 30 Nov, 2020 4 commits
    • asynchronous rob's avatar
      small improvements for parachains consensus (#2040) · 5ce2b380
      asynchronous rob authored
      * introduce a waiting period before selecting candidates and bitfields
      * add network_bridge=debug tracing for rep
      * change to 2.5s timeout in proposer
      * pass timeout to proposer
      * move timeout back to provisioner
      * grumbles
      * Update node/core/provisioner/src/lib.rs
      * Fix nitpicks
      * Fix bug
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      Co-authored-by: Bastian Köcher's avatarBastian Köcher <git@kchr.de>
    • asynchronous rob's avatar
      Move candidate validation to the background (#2028) · 1e0c9910
      asynchronous rob authored
      * refactor some functions to not rely on `self`
      * factor out common elements of seconding and attesting
      * Add Spawn to backing FromJob
      * do candidate validation in background
      * tests
      * address grumbles
    • Bastian Köcher's avatar
      Simplify subsystem jobs (#2037) · 1fbf09ac
      Bastian Köcher authored
      * Simplify subsystem jobs
      This pr simplifies the subsystem jobs interface. Instead of requiring an
      extra message that is used to signal that a job should be ended, a job
      now ends when the receiver returns `None`. Besides that it changes the
      interface to enforce that messages to a job provide a relay parent.
      * Drop ToJobTrait
      * Remove FromJob
      We always convert this message to FromJobCommand anyway.
    • Bastian Köcher's avatar
      Process runtime api requests in the background (#2035) · d00c05ba
      Bastian Köcher authored
      This pr changes how the runtime api subsystem processes runtime api
      requests. Instead of answering all of them in the subsystem task and
      thus, making all requests sequential, we now answer them in a background
      task. This enables us to serve multiple requests at once.
  15. 28 Nov, 2020 2 commits
  16. 27 Nov, 2020 1 commit