Skip to content
  1. 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
  2. Jan 05, 2023
  3. Jan 04, 2023
  4. Jan 03, 2023
  5. 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
  6. 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
  7. Dec 12, 2022
  8. Dec 08, 2022
  9. Dec 06, 2022
  10. Dec 05, 2022
  11. Nov 30, 2022
  12. Nov 29, 2022
  13. Nov 09, 2022
    • Robert Hambrock's avatar
      Companion for substrate#12530: Consolidate and deduplicate MMR API methods (#6167) · 20965b4e
      Robert Hambrock authored
      * histor. batch proof: make best block arg optional
      
      * make generate_batch_proof stub for historical
      
      * merge generate_{historical_}batch_proof functions
      
      * merge generate_{batch_}proof functions
      
      * merge verify_{batch_}proof functions
      
      * merge verify_{batch_}proof_stateless functions
      
      * rename BatchProof->Proof
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      20965b4e
    • Ankan's avatar
      [Companion] Bound Election and Staking by MaxActiveValidators (#6157) · a3fefccb
      Ankan authored
      * add maximum winners to multi phase election provider
      
      * fallback to noelection
      
      * fmt
      
      * missing values
      
      * convert boundedvec to inner before sort
      
      * dont clone
      
      * pr feedback
      
      * update lockfile for {"substrate"}
      
      * run onchain election on westend benchmark
      
      Co-authored-by: parity-processbot <>
      a3fefccb
  14. Nov 08, 2022
  15. Nov 04, 2022
  16. Oct 30, 2022
  17. Oct 29, 2022
  18. Oct 26, 2022
  19. Oct 25, 2022
  20. Oct 22, 2022
    • 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
  21. Oct 19, 2022
  22. Oct 17, 2022
  23. Oct 13, 2022
  24. Oct 11, 2022
    • Shawn Tabrizi's avatar
      Manual Para Lock (#5451) · bccffcad
      Shawn Tabrizi authored
      * remove para lock check for now
      
      * fmt
      
      * manual para lock
      
      * expose schedule_code_upgrade and set_current_head
      
      * extrinsics and benchmarks
      
      * use zero
      
      * add weights
      
      * fix variable name
      
      * add and fix comments
      
      * fix weights
      
      * add back default lock
      
      Co-authored-by: parity-processbot <>
      bccffcad
  25. Oct 09, 2022
  26. Oct 05, 2022
  27. Oct 02, 2022
  28. Sep 28, 2022
    • Kian Paimani's avatar
      add fast-unstsake pallet to all runtimes (#6050) · 9196f32b
      Kian Paimani authored
      
      
      * add fast-unstsake pallet to all runtimes
      
      * ".git/.scripts/fmt.sh" 1
      
      * ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_fast_unstake
      
      * ".git/.scripts/bench-bot.sh" runtime westend-dev pallet_fast_unstake
      
      * fix up all the weight stuff
      
      * update substrate
      
      * update mistake in kusama
      
      * add stub file
      
      * Update runtime/polkadot/src/lib.rs
      
      Co-authored-by: default avatarNitwit <[email protected]>
      
      * Update runtime/westend/src/lib.rs
      
      Co-authored-by: default avatarNitwit <[email protected]>
      
      * cargo update -p sp-io
      
      * add signed extension as well
      
      * Revert "add signed extension as well"
      
      This reverts commit deb936fe5a9a13a62d02757045b1dfa40dccb190.
      
      * cargo update -p sp-io
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_fast_unstake
      
      * ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_fast_unstake
      
      * update sub
      
      * integrate latest substrate changes
      
      * ".git/.scripts/fmt.sh" 1
      
      * ".git/.scripts/bench-bot.sh" runtime westend-dev pallet_fast_unstake
      
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarNitwit <[email protected]>
      9196f32b
  29. Sep 27, 2022
  30. Sep 22, 2022
  31. Sep 21, 2022
    • Ankan's avatar
      [Companion] Get rid of HistoryDepth storage (#5996) · 8d8616d6
      Ankan authored
      
      
      * remove history depth from storage and add it as config for pallet staking
      
      * add migration to v11 for staking pallet
      
      * revert local substrate dependency patch
      
      * remove history depth from storage and add it as config for pallet staking
      
      * add migration to v11 for staking pallet
      
      * revert local substrate dependency patch
      
      * update substrate dependencies
      
      * update cargo lock
      
      * update to latest substrate
      
      * revert all changes to Cargo.lock
      
      * cargo update -p sp-io
      
      * mark migration job as failable
      
      Co-authored-by: default avatarkianenigma <[email protected]>
      8d8616d6
  32. Sep 20, 2022