Skip to content
  1. Aug 25, 2022
  2. Aug 15, 2022
  3. 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
  4. Aug 11, 2022
  5. Aug 01, 2022
  6. 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
  7. Jul 25, 2022
  8. Jul 19, 2022
  9. Jul 13, 2022
  10. Jul 12, 2022
  11. Jul 06, 2022
  12. 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
  13. Jun 16, 2022
  14. Jun 13, 2022
  15. Jun 07, 2022
  16. May 27, 2022
  17. 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
  18. May 20, 2022
  19. 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
  20. May 17, 2022
  21. May 16, 2022
  22. May 12, 2022
  23. 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
  24. May 04, 2022
  25. Apr 28, 2022
  26. Apr 27, 2022
  27. Apr 26, 2022
  28. Apr 25, 2022
    • Mara Broda's avatar
      Remove SlotsCrowdloanIndexMigration & InjectValidatorsIntoVoterList (#5374) (#5379) · 9f79fcae
      Mara Broda authored
      * Remove SlotsCrowdloanIndexMigration
      
      * Remove slots index migration code
      
      * Remove crowdloan index migration code
      
      * remove reference to migration
      
      * rustfmt
      
      * westend: remove unused import OnRuntimeUpgrade
      
      * kusama: remove unused import OnRuntimeUpgrade
      
      * polkadot: remove unused import OnRuntimeUpgrade
      
      * Revert "Remove crowdloan index migration code"
      
      This reverts commit fe84b59e3133e950740d911fb019e6002f60d5a3.
      
      * Revert "Remove slots index migration code"
      
      This reverts commit 62c5a28e21d2949189bdb52835cc3a44f6e9c561.
      
      * Revert "remove reference to migration"
      
      This reverts commit 1f8806c010210b638cc59979ab873619910596c0.
      
      * Remove InjectValidatorsIntoVoterList migration
      9f79fcae
  29. Apr 22, 2022
  30. Apr 20, 2022
  31. Apr 15, 2022
    • Georges's avatar
      Companion for Adding benchmarking for new `frame_election_provider_support` #11149 (#5241) · a74c527d
      Georges authored
      
      
      * `GenesisElectionOf` after changes to substrate
      
      * Benchmarking for `frame_election_provider_support`
      
      * Introducing `OnChainSeqPhragmen` after changes
      to substrate.
      Pallet renaming in substrate
      
      * Fixing `test-runtime`
      
      * Use `UnboundedExecution` after change to substrate
      
      * update lockfile for {"substrate"}
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_election_provider_support --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=frame_election_provider_support --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=frame_election_provider_support --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarParity Bot <[email protected]>
      a74c527d
  32. Apr 13, 2022
  33. Apr 12, 2022
    • Tsvetomir Dimitrov's avatar
      Add staging runtime api (#5048) · fd020c07
      Tsvetomir Dimitrov authored
      * Move `trait ParachainHost` to a separate version independent module
      
      `trait ParachainHost` is no longer part of a specific primitives
      version. Instead there is a single trait for stable and staging api
      versions. The trait contains stable AND staging methods. The latter are
      explicitly marked as unstable.
      
      * Fix `use` primitives
      
      `polkadot_primitives::v2` becomes `polkadot_primitives::runtime_api`
      
      * Staging API declaration and stubs
      
      Introduces the concept for 'staging functions' in runtime API. These
      functions are still in testing and they are meant to be used only
      within test networks (Westend).
      They coexist with the stable calls for technical reasons - maintaining
      different runtime APIs for different networks is hard to implement.
      
      Check the doc comments in source files for more details how the staging
      API should be used.
      
      * Add new staging method - get_session_disputes()
      
      Add `staging_get_session_disputes` to `ParachainHost` as the first
      method of the staging API.
      
      * Hide vstaging runtime api implementations  behind feature flag
      
      * Fix test runtime
      
      * fn staging_get_session_disputes() is renamed to fn staging_get_disputes()
      fd020c07
  34. Apr 08, 2022