1. Jan 12, 2023
    • Marcin S.'s avatar
      pre-checking: Reject failed PVFs (#6492) · 2efa3bab
      Marcin S. authored
      
      
      * pre-checking: Reject failed PVFs
      
      * paras: immediately reject any PVF that cannot reach a supermajority
      
      * Make the `quorum` reject condition a bit more clear semantically
      
      * Add comment
      
      * Update implementer's guide
      
      * Update a link
      
      Not related to the rest of the PR, but I randomly noticed and fixed this.
      
      * Update runtime/parachains/src/paras/tests.rs
      
      Co-authored-by: default avatars0me0ne-unkn0wn <[email protected]>
      
      * Remove unneeded loop
      
      * Log PVF retries using `info!`
      
      * Change retry logs to `warn!` and add preparation failure log
      
      * Log PVF execution failure
      
      * Clarify why we reject failed PVFs
      
      * Fix PVF reject runtime benchmarks
      
      Co-authored-by: default avatars0me0ne-unkn0wn <[email protected]>
      2efa3bab
  2. Jan 11, 2023
  3. Jan 09, 2023
  4. Jan 07, 2023
    • Tsvetomir Dimitrov's avatar
      disputes pallet: Remove spam slots (#6345) · ed9a1a40
      Tsvetomir Dimitrov authored
      
      
      * disputes pallet: Filter disputes with votes less than supermajority threshold
      
      * Remove `max_spam_slots` usages
      
      * Remove `SpamSlots`
      
      * Remove `SpamSlotChange`
      
      * Remove `Error<T>::PotentialSpam` and stale comments
      
      * `create_disputes_with_no_spam` -> `create_disputes`
      
      * Make tests compile - wip commit
      
      * Rework `test_dispute_timeout`. Rename `update_spam_slots` to `filter_dispute_set`
      
      * Remove `dispute_statement_becoming_onesided_due_to_spamslots_is_accepted` and `filter_correctly_accounts_spam_slots` -> they bring no value with removed spam slots
      
      * Fix `test_provide_multi_dispute_success_and_other`
      
      * Remove an old comment
      
      * Remove spam slots from tests - clean todo comments
      
      * Remove test - `test_decrement_spam`
      
      * todo comments
      
      * Update TODO comments
      
      * Extract `test_unconfirmed_are_ignored` as separate test case
      
      * Remove dead code
      
      * Fix `test_unconfirmed_are_ignored`
      
      * Remove dead code in `filter_dispute_data`
      
      * Fix weights (related to commit "Remove `SpamSlots`")
      
      * Disputes migration - first try
      
      * Remove `dispute_max_spam_slots` + storage migration
      
      * Fix `HostConfig` migration tests
      
      * Deprecate `SpamSlots`
      
      * Code review feedback
      
      * add weight for storage version update
      * fix bound for clear()
      
      * Fix weights in disputes migration
      
      * Revert "Deprecate `SpamSlots`"
      
      This reverts commit 8c4d967c7b061abd76ba8b551223918c0b9e6370.
      
      * Make mod migration public
      
      * Remove `SpamSlots` from disputes pallet and use `storage_alias` in the migration
      
      * Fix call to `clear()` for `SpamSlots` in migration
      
      * Update migration and add a `try-runtime` test
      
      * Add `pre_upgrade` `try-runtime` test
      
      * Fix some test names in `HostConfiguration` migration
      
      * Link spamslots migration in all runtimes
      
      * Add `test_unconfirmed_disputes_cause_block_import_error`
      
      * Update guide
      
      - Remove `SpamSlots` related information from roadmap/implementers-guide/src/runtime/disputes.md
      - Add 'Disputes filtering' to Runtime section of the Implementor's guide
      
      * Update runtime/parachains/src/configuration/migration.rs
      
      Co-authored-by: default avatarMarcin S. <[email protected]>
      
      * Code review feedback - update logs
      
      * Code review feedback: fix weights
      
      * Update runtime/parachains/src/disputes.rs
      
      Co-authored-by: default avatars0me0ne-unkn0wn <[email protected]>
      
      * Additional logs in disputes migration
      
      * Fix merge conflicts
      
      * Add version checks in try-runtime tests
      
      * Fix a compilation warning`
      
      Co-authored-by: default avatarMarcin S. <[email protected]>
      Co-authored-by: default avatars0me0ne-unkn0wn <[email protected]>
      ed9a1a40
  5. Jan 06, 2023
  6. Jan 05, 2023
  7. Jan 04, 2023
  8. Jan 03, 2023
  9. Dec 26, 2022
    • Ankan's avatar
      [Companion] Allow StakingAdmin to set min_commission (#6444) · 96bce58a
      Ankan authored
      * rename staking origin
      
      * fix comments
      
      * rename origin
      
      * give fake weight before re-benchmarking
      
      * ".git/.scripts/bench-bot.sh" runtime westend-dev pallet_staking
      
      * ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_staking
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_staking
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      96bce58a
  10. Dec 21, 2022
  11. Dec 19, 2022
  12. Dec 15, 2022
    • Kian Paimani's avatar
      companion for try-runtime revamp (#6187) · a3c81fe2
      Kian Paimani authored
      * update to reflect latest try-runtime stuff
      
      * update to latest version
      
      * fix
      
      * fix miner
      
      * update
      
      * update
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      a3c81fe2
  13. Dec 13, 2022
  14. Dec 12, 2022
  15. Dec 11, 2022
  16. Dec 08, 2022
  17. Dec 07, 2022
  18. Dec 06, 2022
  19. Dec 05, 2022
  20. Dec 01, 2022
  21. Nov 30, 2022
  22. Nov 29, 2022