Skip to content
  1. Nov 24, 2022
  2. Nov 23, 2022
    • eskimor's avatar
      Rate limit improvements (#6315) · 7ba08473
      eskimor authored
      
      
      * We actually don't need to rate limit redundant requests.
      
      Those redundant requests should not actually happen, but still.
      
      * Add some logging.
      
      * Also log message when the receiving side hit the rate limit.
      
      * Update node/network/dispute-distribution/src/sender/mod.rs
      
      Co-authored-by: default avatarAlexandru Vasile <[email protected]>
      
      Co-authored-by: default avatareskimor <[email protected]>
      Co-authored-by: default avatarAlexandru Vasile <[email protected]>
      7ba08473
    • Marcin S.'s avatar
      Add PVF module documentation (#6293) · 1dec2433
      Marcin S. authored
      
      
      * Add PVF module documentation
      
      TODO (once the PRs land):
      
      - [ ] Document executor parametrization.
      
      - [ ] Document CPU time measurement of timeouts.
      
      * Update node/core/pvf/src/lib.rs
      
      Co-authored-by: default avatarAndrei Sandu <[email protected]>
      
      * Clarify meaning of PVF acronym
      
      * Move PVF doc to implementer's guide
      
      * Clean up implementer's guide a bit
      
      * Add page for PVF types
      
      * pvf: Better separation between crate docs and implementer's guide
      
      * ci: Add "prevalidating" to the dictionary
      
      * ig: Remove types/chain.md
      
      The types contained therein did not exist and the file was not referenced
      anywhere.
      
      Co-authored-by: default avatarAndrei Sandu <[email protected]>
      1dec2433
  3. Nov 18, 2022
  4. Nov 17, 2022
    • Tsvetomir Dimitrov's avatar
      Change best effort queue behaviour in `dispute-coordinator` (#6275) · ccad411e
      Tsvetomir Dimitrov authored
      * Change best effort queue behaviour in `dispute-coordinator`
      
      Use the same type of queue (`BTreeMap<CandidateComparator,
      ParticipationRequest>`) for best effort and priority in
      `dispute-coordinator`.
      
      Rework `CandidateComparator` to handle unavailable parent
      block numbers.
      
      Best effort queue will order disputes the same way as priority does - by
      parent's block height. Disputes on candidates for which the parent's
      block number can't be obtained will be treated with the lowest priority.
      
      * Fix tests: Handle `ChainApiMessage::BlockNumber` in `handle_sync_queries`
      
      * Some tests are deadlocking on sending messages via overseer so change `SingleItemSink`to `mpsc::Sender` with a buffer of 1
      
      * Fix a race in test after adding a buffered queue for overseer messages
      
      * Fix the rest of the tests
      
      * Guide update - best-effort queue
      
      * Guide update: clarification about spam votes
      
      * Fix tests in `availability-distribution`
      
      * Update comments
      
      * Add `make_buffered_subsystem_context` in `subsystem-test-helpers`
      
      * Code review feedback
      
      * Code review feedback
      
      * Code review feedback
      
      * Don't add best effort candidate if it is already in priority queue
      
      * Remove an old comment
      
      * Fix insert in best_effort
      ccad411e
    • Andrei Sandu's avatar
      Dedup subsystem name (#6305) · ad41e56e
      Andrei Sandu authored
      
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      ad41e56e
    • Kutsal Kaan Bilgin's avatar
  5. Nov 16, 2022
    • Tsvetomir Dimitrov's avatar
      Provisioner should ignore unconfirmed disputes (#6294) · a0f4287d
      Tsvetomir Dimitrov authored
      * Fix typos
      
      * Filter unconfirmed disputes in provisioner -  random_selection
      
      * Rework dispute coordinator to return `DisputeStatus` with
      `ActiveDisputes` message.
      * Rework the random_selection implementation of `select_disptues` in
        `provisioner` to return only confirmed disputes.
      
      * Filter unconfirmed disputes in provisioner - prioritized_selection
      
      * Add test for unconfirmed disputes handling
      
      * Fix `dispute-distribution` tests
      a0f4287d
  6. Nov 15, 2022
    • Marcin S.'s avatar
      Fixes "for loop over an `Option`" warnings (#6291) · d53513ff
      Marcin S. authored
      Was seeing these warnings when running `cargo check --all`:
      
      ```
      warning: for loop over an `Option`. This is more readably written as an `if let` statement
          --> node/core/approval-voting/src/lib.rs:1147:21
           |
      1147 |             for activated in update.activated {
           |                              ^^^^^^^^^^^^^^^^
           |
           = note: `#[warn(for_loops_over_fallibles)]` on by default
      help: to check pattern in a loop use `while let`
           |
      1147 |             while let Some(activated) = update.activated {
           |             ~~~~~~~~~~~~~~~         ~~~
      help: consider using `if let` to clear intent
           |
      1147 |             if let Some(activated) = update.activated {
           |             ~~~~~~~~~~~~         ~~~
      ```
      
      My guess is that `activated` used to be a SmallVec or similar, as is
      `deactivated`. It was changed to an `Option`, the `for` still compiled (it's
      technically correct, just weird), and the compiler didn't catch it until now.
      d53513ff
    • eskimor's avatar
      c606deb3
  7. Nov 14, 2022
  8. Nov 12, 2022
  9. Nov 11, 2022
    • Tsvetomir Dimitrov's avatar
      Update disputes prioritisation in `dispute-coordinator` (#6130) · ff09b18d
      Tsvetomir Dimitrov authored
      
      
      * Scraper processes CandidateBacked events
      
      * Change definition of best-effort
      
      * Fix `dispute-coordinator` tests
      
      * Unit test for dispute filtering
      
      * Clarification comment
      
      * Add tests
      
      * Fix logic
      
      If a dispute is not backed, not included and not confirmed we
      don't participate but we do import votes.
      
      * Add metrics for refrained participations
      
      * Revert "Add tests"
      
      This reverts commit 7b8391a087922ced942cde9cd2b50ff3f633efc0.
      
      * Revert "Unit test for dispute filtering"
      
      This reverts commit 92ba5fe678214ab360306313a33c781338e600a0.
      
      * fix dispute-coordinator tests
      
      * Fix scraping
      
      * new tests
      
      * Small fixes in guide
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndrei Sandu <[email protected]>
      
      * Fix some comments and remove a pointless test
      
      * Code review feedback
      
      * Clarification comment in tests
      
      * Some tests
      
      * Reference counted `CandidateHash` in scraper
      
      * Proper handling for Backed and Included candidates in scraper
      
      Backed candidates which are not included should be kept for a
      predetermined window of finalized blocks. E.g. if a candidate is backed
      but not included in block 2, and the window size is 2, the same
      candidate should be cleaned after block 4 is finalized.
      
      Add reference counting for candidates in scraper. A candidate can be
      added on multiple block heights so we have to make sure we don't clean
      it prematurely from the scraper.
      
      Add tests.
      
      * Update comments in tests
      
      * Guide update
      
      * Fix cleanup logic for `backed_candidates_by_block_number`
      
      * Simplify cleanup
      
      * Make spellcheck happy
      
      * Update tests
      
      * Extract candidate backing logic in separate struct
      
      * Code review feedback
      
      * Treat  backed and included candidates in the same fashion
      
      * Update some comments
      
      * Small improvements in test
      
      * spell check
      
      * Fix some more comments
      
      * clean -> prune
      
      * Code review feedback
      
      * Reword comment
      
      * spelling
      
      Co-authored-by: default avatarAndrei Sandu <[email protected]>
      ff09b18d
  10. Nov 08, 2022
  11. Nov 07, 2022
  12. Nov 04, 2022
  13. Nov 03, 2022
    • Michal Kucharczyk's avatar
      BlockId removal: refactor: Backend::block_indexed_body (#6233) · a87b2e52
      Michal Kucharczyk authored
      * BlockId removal: refactor: Backend::block_indexed_body
      
      It changes the arguments of `Backend::block_indexed_body` method from: `BlockId<Block>` to: `&Block::Hash`
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      a87b2e52
  14. Nov 02, 2022
    • Michal Kucharczyk's avatar
      BlockId removal: refactor: Backend::justifications (#6229) · a4a5fa85
      Michal Kucharczyk authored
      * BlockId removal: refactor: Backend::justifications
      
      It changes the arguments of `Backend::justifications` method from: `BlockId<Block>` to: `&Block::Hash`
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      
      * formatting
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      a4a5fa85
  15. Nov 01, 2022
    • alexgparity's avatar
      Replace parachain/parathread boolean by enum (#6198) · 6d83525b
      alexgparity authored
      
      
      * Replace parachain/parathread boolean by enum
      
      * Address PR comments
      
      * Update dependencies
      
      * ParaType -> ParaKind
      
      * Swap enum field order to avoid migration
      
      * Rename paratype field to parakind
      
      * Manual en-/decocing of Parakind
      
      * Manual TypeInfo for ParaKind
      
      * rename field back to parachain
      
      * minor
      
      * Update runtime/parachains/src/paras/mod.rs
      
      Co-authored-by: default avatarAndrei Sandu <[email protected]>
      
      * Manual serde Serialize and Deserialize for ParaKind
      
      * cargo fmt
      
      * Update runtime/parachains/src/paras/mod.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Add test for serde_json encoding/decoding
      
      * Move serde_json dep to dev-deps
      
      Co-authored-by: default avatarAndrei Sandu <[email protected]>
      Co-authored-by: default avatarAndronik <[email protected]>
      6d83525b
    • Michal Kucharczyk's avatar
      BlockId removal: refactor: BlockBackend::block_body (#6223) · be70e445
      Michal Kucharczyk authored
      * BlockId removal: refactor: BlockBackend::block_body
      
      It changes the arguments of `BlockBackend::block_body` method from: `BlockId<Block>` to: `&Block::Hash`
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      be70e445
    • Marcin S.'s avatar
      PVF timeouts follow-up (#6151) · 1f821976
      Marcin S. authored
      * Rename timeout consts and timeout parameter; bump leniency
      
      * Update implementor's guide with info about PVFs
      
      * Make glossary a bit easier to read
      
      * Add a note to LENIENT_PREPARATION_TIMEOUT
      
      * Remove PVF-specific section from glossary
      
      * Fix some typos
      1f821976
  16. Oct 31, 2022
  17. Oct 26, 2022
    • Marcin S.'s avatar
      Make some fixes to logging in PVF subsystem (#6180) · d4e3501e
      Marcin S. authored
      * Log exit status code for workers
      
      * Make log for execute job conclusion match prepare job conclusion
      
      Trace log for conclusion of prepare job:
      
      ```rs
      gum::debug!(
      	target: LOG_TARGET,
      	validation_code_hash = ?artifact_id.code_hash,
      	?worker,
      	?rip,
      	"prepare worker concluded",
      );
      ```
      
      Co-authored-by: parity-processbot <>
      d4e3501e
  18. Oct 22, 2022
    • Boluwatife Bakre's avatar
      Use a more typesafe approach for managing indexed data (#6150) · 8eb1f461
      Boluwatife Bakre authored
      
      
      * Fix for issue #2403
      
      * Nightly fmt
      
      * Quick documentation fixes
      
      * Default Implementation
      
      * iter() function integrated
      
      * Implemented iter functionalities
      
      * Fmt
      
      * small change
      
      * updates node-network
      
      * updates in dispute-coordinator
      
      * Updates
      
      * benchmarking fix
      
      * minor fix
      
      * test fixes in runtime api
      
      * Update primitives/src/v2/mod.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Update primitives/src/v2/mod.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Update primitives/src/v2/mod.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Update primitives/src/v2/mod.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Update primitives/src/v2/mod.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Removal of [index], shorting of FromIterator, Renaming of GroupValidators to ValidatorGroups
      
      * Removal of ops import
      
      * documentation fixes for spell check
      
      * implementation of generic type
      
      * Refactoring
      
      * Test and documentation fixes
      
      * minor test fix
      
      * minor test fix
      
      * minor test fix
      
      * Update node/network/statement-distribution/src/lib.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Update primitives/src/v2/mod.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Update primitives/src/v2/mod.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * removed IterMut
      
      * Update node/core/dispute-coordinator/src/import.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Update node/core/dispute-coordinator/src/initialized.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Update primitives/src/v2/mod.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * fmt
      
      * IterMut
      
      * documentation update
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * minor adjustments and new TypeIndex trait
      
      * spelling fix
      
      * TypeIndex fix
      
      Co-authored-by: default avatarAndronik <[email protected]>
      8eb1f461
    • Mara Broda's avatar
      sync versions with current release (0.9.31) (#6176) · f8cc39a7
      Mara Broda authored
      * Bump spec_version to 9310
      
      * bump transaction_version (0.9.31) (#6171)
      
      * Bump transaction_version for polkadot
      
      * Bump transaction_version for kusama
      
      * Bump transaction_version for rococo
      
      * Bump transaction_version for westend
      
      * Bump transaction_version for polkadot
      
      * Bump transaction_version for kusama
      
      * Bump transaction_version for rococo
      
      * Bump transaction_version for westend
      
      * Bump crate versions (0.9.31)
      f8cc39a7
  19. Oct 18, 2022
  20. Oct 13, 2022
    • Javier Viola's avatar
      bump zombienet version (#6142) · 0373ad0a
      Javier Viola authored
      * bump version
      
      * make test required
      
      * change zombienet version
      
      * change zombienet version
      
      * bump version and typo
      
      * typo and add within
      0373ad0a
    • Sergej Sakac's avatar
      pallet-mmr: RPC and Runtime APIs work with block numbers (#6072) · 0cc0867c
      Sergej Sakac authored
      * pallet-mmr: RPC API works with block numbers
      
      * small fix
      
      * update
      
      * change types
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      0cc0867c
    • Marcin S.'s avatar
      Separate preparation timeouts for PVF prechecking and execution (#6139) · 17730b85
      Marcin S. authored
      * Add some documentation
      
      * Add `compilation_timeout` parameter for PVF preparation job
      
      * Update buckets in prometheus metrics
      
      * Update prepare/queue tests
      
      * Update pvf-prechecking overview in implementer docs
      
      * Fix some CI checks
      17730b85
    • Mattia L.V. Bradascio's avatar
      Malus: add disputed block percentage (#6100) · b3532393
      Mattia L.V. Bradascio authored
      * Malus: add disputed block percentage
      
      * Bump clap to support value_parser with range
      
      * Add rand crate and use Bernoulli and Distribution
      
      * Add conditional logic based on sampled value from Bernoulli distribution
      
      * Add SuggestGarbageCandidateOptions struct
      
      * Cleanup tests
      
      * * Replace unwrap with expect and meaningful error message
      
      * * Remove Inner
      * Remove intercept_outgoing
      
      * * Rename sampled variable
      * Move info! logs to include candidate hash of malicious candidate
      
      * * Add percentage option to dispute_ancestor
      
      * * Support static probability for `ReplaceValidationResult` proxy
      * Update some comments and docs
      
      * * Add `--percentage` to `back-garbage-candidate` variant
      * Rename structs for consistency
      
      * * Add probabilistic behavior to `dispute-ancestor` variant
      * Add probabilistic behavior to `back-garbage-candidate` variant
      * Rename structs in dispute variant
      
      * * More descriptive comments
      
      * * cargo +nightly fmt --all
      
      * * Move Bernoulli distributrion to ReplaceValidationResult constructor
      
      * Rename random_bool to behave_maliciously
      
      * * Remove dangling comment
      
      * * Consistent log
      
      * * Add logs based on sampled value
      
      * * Cargo +nightly fmt --all
      
      * * Remove unused percentage attributed after moving Bernoulli to constructor
      
      * Squashed commit of the following:
      
      commit e4361b6d
      Author: Chris Sosnin <[email protected]>
      Date:   Mon Oct 10 10:06:44 2022 +0400
      
          Fix flaky test (#6131)
      
          * Split test + decrease test timeout
      
          * fmt
      
          * spellcheck
      
      commit f614752c
      Author: girazoki <[email protected]>
      Date:   Mon Oct 10 06:39:30 2022 +0200
      
          Add event to asset claim (#6029)
      
      commit 71197818
      
      
      Author: Leszek Wiesner <[email protected]>
      Date:   Mon Oct 10 00:23:54 2022 +0200
      
          Companion for 12109 (#5929)
      
          * Update following `pallet-vesting` configurable `WithdrawReasons`
      
          * Update lib.rs
      
          * Update lib.rs
      
          * Update lib.rs
      
          * update lockfile for {"substrate"}
      
          * fix warning
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
          Co-authored-by: parity-processbot <>
      
      commit 60735044
      Author: Bastian Köcher <[email protected]>
      Date:   Fri Oct 7 13:40:40 2022 +0200
      
          Companion for upgrading pin-project (#6118)
      
          * Companion for upgrading pin-project
      
          This will remove some warnings with the latest rustc nightly/stable.
      
          https://github.com/paritytech/substrate/pull/12426
      
          * update lockfile for {"substrate"}
      
          Co-authored-by: parity-processbot <>
      
      commit c8151aed
      Author: Sergej Sakac <[email protected]>
      Date:   Thu Oct 6 19:20:58 2022 +0200
      
          Maximum value for `MultiplierUpdate` (#6021)
      
          * update multiplier
      
          * fix
      
          * update lockfile for {"substrate"}
      
          * fmt
      
          * fix typo
      
          Co-authored-by: parity-processbot <>
      
      commit 8d1c16dc
      Author: Adrian Catangiu <[email protected]>
      Date:   Thu Oct 6 12:58:39 2022 +0300
      
          service: use MmrRootProvider as custom BEEFY payload provider (companion for 12428) (#6112)
      
          * service: use MmrRootProvider as custom BEEFY payload provider
      
          * update lockfile for {"substrate"}
      
          Co-authored-by: parity-processbot <>
      
      commit 910e2184
      Author: Branislav Kontur <[email protected]>
      Date:   Thu Oct 6 10:03:34 2022 +0200
      
          Skip `unexpected metric type`
      
          * Dump more info for `unexpected metric type`
      
          * Skip `unexpected metric type`
      
      commit af6a5cd9
      
      
      Author: Andronik <[email protected]>
      Date:   Thu Oct 6 00:36:51 2022 +0200
      
          update kvdb & co (#6111)
      
          * toml changes
      
          * REVERTME: patch
      
          * adapt parachains db interface
      
          * fix Cargo.toml patch after master rebase
      
          * fix av-store
      
          * fix chain-selection
      
          * fix parachains-db?
      
          * Revert "fix Cargo.toml patch after master rebase"
      
          This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287.
      
          * Revert "REVERTME: patch"
      
          This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54.
      
          * Use `Ok` imported from prelude
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
          * update lockfile for {"substrate"}
      
          * Revert "update lockfile for {"substrate"}"
      
          This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d.
      
          * cargo update -p sp-io
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
          Co-authored-by: parity-processbot <>
      
      commit 9a3cf4cd
      
      
      Author: Gavin Wood <[email protected]>
      Date:   Wed Oct 5 22:17:59 2022 +0100
      
          Companion for #11649: Bound uses of `Call` (#5729)
      
          * Fixes
      
          * Clear out old weights
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Resolve merges
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Fix weight traits
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * polkadot runtime: Clippy
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * rococo runtime: update pallet configs
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Add preimage migration
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Add all migrations
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Democracy is not on Westend
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * [Migration] Refund stored multisig calls (#6075)
      
          * Add Preimages to referenda config
      
          Needed since Gov V2 just merged.
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Update weights
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Add multisig migration to Westend+Rococo
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Fix Executive syntax
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Bump Substrate
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
          Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarRoman Useinov <[email protected]>
      
      commit 4aea71a9
      Author: Alexander Theißen <[email protected]>
      Date:   Wed Oct 5 15:15:07 2022 +0200
      
          Pass through `runtime-benchmark` feature (#6110)
      
      commit 42c043d7
      
      
      Author: Keith Yeung <[email protected]>
      Date:   Wed Oct 5 17:47:15 2022 +0800
      
          Properly migrate weights to v2 (#6091)
      
          * Create migration for config pallet
      
          * Use XcmWeight in XCM pallet extrinsics
      
          * Link to PR in doc comment
      
          * cargo fmt
      
          * Fix tests
      
          * Fix tests
      
          * Remove unused import
      
          * Update runtime/parachains/src/configuration/migration.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
          * Add missing on_runtime_upgrade implementation
      
          * Use new migration API
      
          * cargo fmt
      
          * Fix log message
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      commit b13e07bc
      Author: Chris Sosnin <[email protected]>
      Date:   Wed Oct 5 11:48:50 2022 +0400
      
          Buffered connection management for collator-protocol (#6022)
      
          * Extract metrics into a separate module
      
          * Introduce validators buffer
      
          * Integrate buffer into the subsystem
      
          * Only reconnect on new advertisements
      
          * Test
      
          * comma
      
          * doc comment
      
          * Make capacity buffer compile time non-zero
      
          * Add doc comments
      
          * nits
      
          * remove derives
      
          * review
      
          * better naming
      
          * check timeout
      
          * Extract interval stream into lib
      
          * Ensure collator disconnects after timeout
      
          * spellcheck
      
          * rename buf
      
          * Remove double interval
      
          * Add a log on timeout
      
          * Cleanup buffer on timeout
      
      commit e0e83667
      Author: Robert Klotzner <[email protected]>
      Date:   Tue Oct 4 18:47:52 2022 +0200
      
          Add unknown words (#6105)
      
      commit 938bc96a
      
      
      Author: Robert Klotzner <[email protected]>
      Date:   Tue Oct 4 18:02:05 2022 +0200
      
          Batch vote import in dispute-distribution (#5894)
      
          * Start work on batching in dispute-distribution.
      
          * Guide work.
      
          * More guide changes. Still very much WIP.
      
          * Finish guide changes.
      
          * Clarification
      
          * Adjust argument about slashing.
      
          * WIP: Add constants to receiver.
      
          * Maintain order of disputes.
      
          * dispute-distribuion sender Rate limit.
      
          * Cleanup
      
          * WIP: dispute-distribution receiver.
      
          - [ ] Rate limiting
          - [ ] Batching
      
          * WIP: Batching.
      
          * fmt
      
          * Update `PeerQueues` to maintain more invariants.
      
          * WIP: Batching.
      
          * Small cleanup
      
          * Batching logic.
      
          * Some integration work.
      
          * Finish.
      
          Missing: Tests
      
          * Typo.
      
          * Docs.
      
          * Report missing metric.
      
          * Doc pass.
      
          * Tests for waiting_queue.
      
          * Speed up some crypto by 10x.
      
          * Fix redundant import.
      
          * Add some tracing.
      
          * Better sender rate limit
      
          * Some tests.
      
          * Tests
      
          * Add logging to rate limiter
      
          * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
      
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      
          * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
      
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      
          * Update node/network/dispute-distribution/src/receiver/mod.rs
      
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      
          * Review feedback.
      
          * Also log peer in log messages.
      
          * Fix indentation.
      
          * waker -> timer
      
          * Guide improvement.
      
          * Remove obsolete comment.
      
          * waker -> timer
      
          * Fix spell complaints.
      
          * Fix Cargo.lock
      
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      
      commit a64cc4a8
      
      
      Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Date:   Tue Oct 4 11:28:21 2022 +0000
      
          Bump lru from 0.7.8 to 0.8.0 (#6060)
      
          * Bump lru from 0.7.8 to 0.8.0
      
          Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.8 to 0.8.0.
          - [Release notes](https://github.com/jeromefroe/lru-rs/releases)
          - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
          - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.8...0.8.0)
      
          ---
          updated-dependencies:
          - dependency-name: lru
            dependency-type: direct:production
            update-type: version-update:semver-minor
          ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
          * Change `LruCache` paramerter to `NonZeroUsize`
      
          * Change type of `session_cache_lru_size` to `NonZeroUsize`
      
          * Add expects instead of unwrap
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
          * Use match to get rid of expects
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarSebastian Kunert <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      commit 7114a8cf
      
      
      Author: Andrei Sandu <[email protected]>
      Date:   Tue Oct 4 13:36:42 2022 +0300
      
          Keep sessions in window for the full unfinalized chain (#6054)
      
          * Impl dynamic window size. Keep sessions for unfinalized chain
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
          * feedback
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
          * Stretch also in contructor plus  tests
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
          * review feedback
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
          * fix approval-voting tests
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
          * grunting: dispute coordinator tests
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      commit ab8f04f8
      
      
      Author: Serban Iorga <[email protected]>
      Date:   Tue Oct 4 12:25:48 2022 +0300
      
          Companion for BEEFY: Simplify hashing for pallet-beefy-mmr (#6098)
      
          * beefy-mmr: Simplify hashing
      
          * update lockfile for {"substrate"}
      
          Co-authored-by: parity-processbot <>
      
      * Revert "Squashed commit of the following:"
      
      This reverts commit 5001fa5d1dcd366029d156f81c40b99ca29d8f77.
      
      * Companion for BEEFY: Simplify hashing for pallet-beefy-mmr (#6098)
      
      * beefy-mmr: Simplify hashing
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      
      * Keep sessions in window for the full unfinalized chain (#6054)
      
      * Impl dynamic window size. Keep sessions for unfinalized chain
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      * feedback
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      * Stretch also in contructor plus  tests
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      * review feedback
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      * fix approval-voting tests
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      * grunting: dispute coordinator tests
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      * Bump lru from 0.7.8 to 0.8.0 (#6060)
      
      * Bump lru from 0.7.8 to 0.8.0
      
      Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.8 to 0.8.0.
      - [Release notes](https://github.com/jeromefroe/lru-rs/releases)
      - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.8...0.8.0)
      
      ---
      updated-dependencies:
      - dependency-name: lru
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Change `LruCache` paramerter to `NonZeroUsize`
      
      * Change type of `session_cache_lru_size` to `NonZeroUsize`
      
      * Add expects instead of unwrap
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Use match to get rid of expects
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarSebastian Kunert <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Batch vote import in dispute-distribution (#5894)
      
      * Start work on batching in dispute-distribution.
      
      * Guide work.
      
      * More guide changes. Still very much WIP.
      
      * Finish guide changes.
      
      * Clarification
      
      * Adjust argument about slashing.
      
      * WIP: Add constants to receiver.
      
      * Maintain order of disputes.
      
      * dispute-distribuion sender Rate limit.
      
      * Cleanup
      
      * WIP: dispute-distribution receiver.
      
      - [ ] Rate limiting
      - [ ] Batching
      
      * WIP: Batching.
      
      * fmt
      
      * Update `PeerQueues` to maintain more invariants.
      
      * WIP: Batching.
      
      * Small cleanup
      
      * Batching logic.
      
      * Some integration work.
      
      * Finish.
      
      Missing: Tests
      
      * Typo.
      
      * Docs.
      
      * Report missing metric.
      
      * Doc pass.
      
      * Tests for waiting_queue.
      
      * Speed up some crypto by 10x.
      
      * Fix redundant import.
      
      * Add some tracing.
      
      * Better sender rate limit
      
      * Some tests.
      
      * Tests
      
      * Add logging to rate limiter
      
      * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
      
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      
      * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
      
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      
      * Update node/network/dispute-distribution/src/receiver/mod.rs
      
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      
      * Review feedback.
      
      * Also log peer in log messages.
      
      * Fix indentation.
      
      * waker -> timer
      
      * Guide improvement.
      
      * Remove obsolete comment.
      
      * waker -> timer
      
      * Fix spell complaints.
      
      * Fix Cargo.lock
      
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      
      * Add unknown words (#6105)
      
      * Buffered connection management for collator-protocol (#6022)
      
      * Extract metrics into a separate module
      
      * Introduce validators buffer
      
      * Integrate buffer into the subsystem
      
      * Only reconnect on new advertisements
      
      * Test
      
      * comma
      
      * doc comment
      
      * Make capacity buffer compile time non-zero
      
      * Add doc comments
      
      * nits
      
      * remove derives
      
      * review
      
      * better naming
      
      * check timeout
      
      * Extract interval stream into lib
      
      * Ensure collator disconnects after timeout
      
      * spellcheck
      
      * rename buf
      
      * Remove double interval
      
      * Add a log on timeout
      
      * Cleanup buffer on timeout
      
      * Properly migrate weights to v2 (#6091)
      
      * Create migration for config pallet
      
      * Use XcmWeight in XCM pallet extrinsics
      
      * Link to PR in doc comment
      
      * cargo fmt
      
      * Fix tests
      
      * Fix tests
      
      * Remove unused import
      
      * Update runtime/parachains/src/configuration/migration.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Add missing on_runtime_upgrade implementation
      
      * Use new migration API
      
      * cargo fmt
      
      * Fix log message
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Pass through `runtime-benchmark` feature (#6110)
      
      * Companion for #11649: Bound uses of `Call` (#5729)
      
      * Fixes
      
      * Clear out old weights
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Resolve merges
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Fix weight traits
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * polkadot runtime: Clippy
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * rococo runtime: update pallet configs
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Add preimage migration
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Add all migrations
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Democracy is not on Westend
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * [Migration] Refund stored multisig calls (#6075)
      
      * Add Preimages to referenda config
      
      Needed since Gov V2 just merged.
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Update weights
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Add multisig migration to Westend+Rococo
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Fix Executive syntax
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Bump Substrate
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarRoman Useinov <[email protected]>
      
      * update kvdb & co (#6111)
      
      * toml changes
      
      * REVERTME: patch
      
      * adapt parachains db interface
      
      * fix Cargo.toml patch after master rebase
      
      * fix av-store
      
      * fix chain-selection
      
      * fix parachains-db?
      
      * Revert "fix Cargo.toml patch after master rebase"
      
      This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287.
      
      * Revert "REVERTME: patch"
      
      This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54.
      
      * Use `Ok` imported from prelude
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * update lockfile for {"substrate"}
      
      * Revert "update lockfile for {"substrate"}"
      
      This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d.
      
      * cargo update -p sp-io
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: parity-processbot <>
      
      * Skip `unexpected metric type`
      
      * Dump more info for `unexpected metric type`
      
      * Skip `unexpected metric type`
      
      * service: use MmrRootProvider as custom BEEFY payload provider (companion for 12428) (#6112)
      
      * service: use MmrRootProvider as custom BEEFY payload provider
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      
      * Maximum value for `MultiplierUpdate` (#6021)
      
      * update multiplier
      
      * fix
      
      * update lockfile for {"substrate"}
      
      * fmt
      
      * fix typo
      
      Co-authored-by: parity-processbot <>
      
      * Companion for upgrading pin-project (#6118)
      
      * Companion for upgrading pin-project
      
      This will remove some warnings with the latest rustc nightly/stable.
      
      https://github.com/paritytech/substrate/pull/12426
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      
      * Companion for 12109 (#5929)
      
      * Update following `pallet-vesting` configurable `WithdrawReasons`
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * update lockfile for {"substrate"}
      
      * fix warning
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: parity-processbot <>
      
      * Add event to asset claim (#6029)
      
      * Fix flaky test (#6131)
      
      * Split test + decrease test timeout
      
      * fmt
      
      * spellcheck
      
      * ci/guide: install mdbook-graphviz (#6119)
      
      * ci/guide: install mdbook-graphviz
      
      * install graphviz in build-implementers-guide
      
      * Update scripts/ci/gitlab/pipeline/build.yml
      
      Co-authored-by: default avatarAlexander Samusev <[email protected]>
      
      * Revert "Squashed commit of the following:"
      
      This reverts commit 5001fa5d1dcd366029d156f81c40b99ca29d8f77.
      
      * * Remove unused imports
      
      * * cargo +nightly fmt --all
      
      * Make tweaks based on PR comments
      
      * unit test related to gum formatting
      
      * cargo +nightly fmt --all
      
      * Resolve merge conflicts
      
      * cargo +nightly fmt --all
      
      * Fix tests so they use cli rather than cmd
      
      * CI unused import check fix
      
      * Move info! log to startup
      
      * make info log more comprehensible
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: default avatarSerban Iorga <[email protected]>
      Co-authored-by: default avatarAndrei Sandu <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarSebastian Kunert <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarRobert Klotzner <[email protected]>
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      Co-authored-by: default avatarChris Sosnin <[email protected]>
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      Co-authored-by: default avatarGavin Wood <[email protected]>
      Co-authored-by: default avatarRoman Useinov <[email protected]>
      Co-authored-by: default avatarAndronik <[email protected]>
      Co-authored-by: default avatarBranislav Kontur <[email protected]>
      Co-authored-by: default avatarAdrian Catangiu <[email protected]>
      Co-authored-by: default avatarSergej Sakac <[email protected]>
      Co-authored-by: default avatarLeszek Wiesner <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatargirazoki <[email protected]>
      Co-authored-by: default avatarAlexander Samusev <[email protected]>
      b3532393
  21. Oct 12, 2022
  22. Oct 11, 2022
  23. Oct 10, 2022