Skip to content
  1. Sep 19, 2022
    • Tsvetomir Dimitrov's avatar
      Improved dispute votes import in provisioner (#5567) · 6ae9720c
      Tsvetomir Dimitrov authored
      * Add `DisputeState` to `DisputeCoordinatorMessage::RecentDisputes`
      
      The new signature of the message is:
      ```
      RecentDisputes(oneshot::Sender<Vec<(SessionIndex, CandidateHash, DisputeStatus)>>),
      ```
      
      As part of the change also add `DispiteStatus` to
      `polkadot_node_primitives`.
      
      * Move dummy_signature() in primitives/test-helpers
      
      * Enable staging runtime api on Rococo
      
      * Implementation
      
      * Move disputes to separate module
      * Vote prioritisation
      * Duplicates handling
      * Double vote handling
      * Unit tests
      * Logs and metrics
      * Code review feedback
      * Fix ACTIVE/INACTIVE separation and update partition names
      * Add `fn dispute_is_inactive` to node primitives and refactor `fn get_active_with_status()` logic
      * Keep the 'old' logic if the staging api is not enabled
      * Fix some comments in tests
      * Add warning message if there are any inactive_unknown_onchain disputes
      * Add file headers and remove `use super::*;` usage outside tests
      * Adding doc comments
      * Fix test methods names
      
      * Fix staging api usage
      
      * Fix `get_disputes` runtime function implementation
      
      * Fix compilation error
      
      * Fix arithmetic operations in tests
      
      * Use smaller test data
      
      * Rename `RuntimeApiRequest::StagingDisputes` to `RuntimeApiRequest::Disputes`
      
      * Remove `staging-client` feature flag
      
      * fmt
      
      * Remove `vstaging` feature flag
      
      * Some comments regarding the staging api
      
      * Rename dispute selection modules in provisioner
      with_staging_api -> prioritized_selection
      without_staging_api -> random_selection
      
      * Comments for staging api
      
      * Comments
      
      * Additional logging
      
      * Code review feedback
      
      process_selected_disputes -> into_multi_dispute_statement_set
      typo
      In trait VoteType: vote_value -> is_valid
      
      * Code review feedback
      
      * Fix metrics
      
      * get_disputes -> disputes
      
      * Get time only once during partitioning
      
      * Fix partitioning
      
      * Comments
      
      * Reduce the number of hardcoded api versions
      
      * Code review feedback
      
      * Unused import
      
      * Comments
      
      * More precise log messages
      
      * Code review feedback
      
      * Code review feedback
      
      * Code review feedback - remove `trait VoteType`
      
      * Code review feedback
      
      * Trace log for DisputeCoordinatorMessage::QueryCandidateVotes counter in vote_selection
      6ae9720c
  2. Sep 18, 2022
  3. Sep 12, 2022
    • Sergej Sakac's avatar
      Companion for #11981 (#5915) · 8ea6076f
      Sergej Sakac authored
      
      
      * Companion for #11981
      
      * more renaming
      
      * fmt
      
      * fixes
      
      * add generic type
      
      * Companion for #11831
      
      * fix
      
      * revert changes
      
      * Delete rename-outer-enum.diff
      
      * revert
      
      * Update run_benches_for_runtime.sh
      
      * rename type Call & type Event
      
      * passing tests
      
      * fmt
      
      * small fixes
      
      * commit
      
      * fix
      
      * fmt
      
      * commit
      
      * error fixes
      
      * fix
      
      * small fix in test
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * remove RuntimeCall from pallet_grandpa
      
      * last fix
      
      * commit
      
      * rename
      
      * merge fix
      
      * update lockfile for {"substrate"}
      
      * cargo +nightly fmt
      
      * fix
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      8ea6076f
  4. Sep 09, 2022
  5. Sep 08, 2022
    • ordian's avatar
      disputes rewards (#5862) · c79dd875
      ordian authored
      * refactor backing points to only reward active set
      
      * impl disputes::RewardValidators
      
      * enable rewards on westend, kusama, polkadot
      
      * fmt
      
      * make dispute points same as backing
      
      * disable on polkadot for now
      c79dd875
  6. Sep 06, 2022
  7. Sep 01, 2022
    • Shawn Tabrizi's avatar
      Companion for Weight v1.5 Follow Up (#5949) · e28bf2e4
      Shawn Tabrizi authored
      * updates
      
      * remove new
      
      * fix up some stuff
      
      * fix cargo files
      
      * fix
      
      * fix template
      
      * update lockfile for {"substrate"}
      
      * Update block_weights.rs
      
      * remove unused
      
      * remove unused
      
      Co-authored-by: parity-processbot <>
      e28bf2e4
    • Kian Paimani's avatar
      companion `try-state` (#5907) · f2020208
      Kian Paimani authored
      * bunch of changes for now
      
      * companion for sanity-checks
      
      * Fix
      
      * remove bridges
      
      * better logging
      
      * revert spec change
      
      * fmt
      
      * fix
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      f2020208
  8. Aug 31, 2022
    • Shawn Tabrizi's avatar
      Companion for Weight v1.5 (#5943) · 28e94d97
      Shawn Tabrizi authored
      * fix to latest substrate pr
      
      * update weights
      
      * cargo build -p polkadot-runtime-parachains
      
      * fix xcm-builder
      
      * fix import
      
      * fix a bunch
      
      * fix a bunch of weight stuff
      
      * kusama compile
      
      * unused
      
      * builds
      
      * maybe fix
      
      * cargo test -p polkadot-runtime-parachains
      
      * xcm simulator example
      
      * fix tests
      
      * xcm sim fuzz
      
      * fix runtime tests
      
      * remove unused
      
      * fix integration tests
      
      * scalar div
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      28e94d97
  9. Aug 29, 2022
    • Mara Broda's avatar
      version bumps (0.9.28) (#5933) · fc97080c
      Mara Broda authored
      * Bump crate versions
      
      * Bump spec_version to 9280 for kusama
      
      * Bump spec_version to 9280 for polkadot
      
      * Bump spec_version to 9280 for rococo
      
      * Bump spec_version to 9280 for westend
      
      * update Cargo.lock
      
      Co-authored-by: parity-processbot <>
      fc97080c
  10. Aug 28, 2022
  11. Aug 25, 2022
  12. Aug 15, 2022
  13. Aug 14, 2022
    • Kian Paimani's avatar
      Add nomination pools to Polkadot runtime (#5582) · 47de4b37
      Kian Paimani authored
      
      
      * Add nomination poools to Polkadot runtime
      
      * fmt + spellcheck
      
      * cargo run --quiet --profile=production --features runtime-benchmarks -- benchmark pallet --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * fiux
      
      * ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_nomination_pools
      
      * ".git/.scripts/fmt.sh" 1
      
      * Update runtime/polkadot/src/lib.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * fix
      
      * fmt
      
      * Update runtime/polkadot/src/lib.rs
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      47de4b37
  14. Aug 11, 2022
  15. Aug 01, 2022
  16. Jul 27, 2022
    • Sergej Sakac's avatar
      Companion for #11831 (#5784) · c2df8308
      Sergej Sakac authored
      
      
      * Companion for #11831
      
      * commti
      
      * fix
      
      * fix
      
      * commit
      
      * fix?
      
      * added rpc extension
      
      * fmt
      
      * add dependency
      
      * added NominationPools to runtimes
      
      * implement np
      
      * implement for kusama & westend
      
      * remove np-rpc from rococco
      
      * fmt
      
      * add np-rpc to the client
      
      * fix wrong dependency in client
      
      * remove from client
      
      * remove from rpc
      
      * fix?
      
      * switch back
      
      * fix?
      
      * .
      
      * add rpc extension
      
      * fmt
      
      * fix dependency
      
      * commit
      
      * only implement the api in the runtimes
      
      * update
      
      * update runtimes
      
      * update sp-io
      
      * update
      
      * Update Cargo.toml
      
      * Update Cargo.toml
      
      * Update Cargo.toml
      
      * commit
      
      * Revert "Merge branch 'rpc-pending-rewards' of github.com:Szegoo/polkadot into rpc-pending-rewards"
      
      This reverts commit dd260820641060b6106b238081d674e902267f24, reversing
      changes made to 8f3b58dbe28132a95c4d595700214f886da22e5e.
      
      Co-authored-by: default avatarkianenigma <[email protected]>
      c2df8308
    • Kian Paimani's avatar
      add migration for staking v10 (#5817) · 85b909a0
      Kian Paimani authored
      85b909a0
  17. Jul 25, 2022
  18. Jul 19, 2022
  19. Jul 13, 2022
  20. Jul 12, 2022
  21. Jul 06, 2022
  22. Jun 21, 2022
    • Mara Broda's avatar
      bump versions to 0.9.25 (#5684) · 97f9b840
      Mara Broda authored
      * kusama: bump spec_version to 9250
      
      * polkadot: bump spec_version to 9250
      
      * rococo: bump spec_version to 9250
      
      * westend: bump spec_version to 9250
      
      * bump version to 0.9.25
      
      * bump transaction version (polkadot & kusama) (#5690)
      
      * kusama: bump transaction_version to 12
      
      * polkadot: bump transaction_version to 13
      97f9b840
  23. Jun 16, 2022
  24. Jun 13, 2022
  25. Jun 07, 2022
  26. May 27, 2022
  27. May 24, 2022
    • Niklas Adolfsson's avatar
      fix: `--feature fast-runtime` on westend (#5585) · 69aa11f6
      Niklas Adolfsson authored
      The westend runtime was missing the fast runtime for `EpochDuration`
      which caused the epoch be 1 hour which isn't fast.
      
      This PR changes the `EpochDuration` to 2 minutes when `--fast-runtime`
      is enabled, the same as polkadot and kusama.
      69aa11f6
  28. May 20, 2022
  29. May 19, 2022
    • Shawn Tabrizi's avatar
      Rename BagsList to VoterList and Add Score (#5463) · b61c7515
      Shawn Tabrizi authored
      * add migration for simple pallet rename
      
      * fmt
      
      * also add score migration
      
      * add try-runtime feature to bags list
      
      * add pre_upgrade to pallet rename
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      b61c7515
  30. May 17, 2022
  31. May 16, 2022
  32. May 12, 2022
  33. May 11, 2022
    • Kian Paimani's avatar
      companion for 11350 (#5489) · eb2448e1
      Kian Paimani authored
      * fix all runtimes
      
      * fix staking miner
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      eb2448e1
    • Kian Paimani's avatar
      Add Nomination Pools to Kusama (#5447) · 9f21ec97
      Kian Paimani authored
      
      
      * add nomination pools to kusama
      
      * Update runtime/kusama/src/lib.rs
      
      Co-authored-by: default avatarMara Robin B. <[email protected]>
      
      * Update runtime/kusama/src/lib.rs
      
      * probably fix build
      
      * really fix build
      
      * fix benches
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * whitelist transactional storage limit
      
      * make defensive
      
      * fix
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * update
      
      * fix benches
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * change head
      
      * fmt
      
      Co-authored-by: default avatarMara Robin B. <[email protected]>
      Co-authored-by: default avatarParity Bot <[email protected]>
      9f21ec97