Commit Graph

1869 Commits

Author SHA1 Message Date
Shawn Tabrizi 28e94d97dd Companion for Weight v1.5 (#5943)
* 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 <>
2022-08-31 11:59:39 +00:00
Mara Robin B fc97080cb2 version bumps (0.9.28) (#5933)
* 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 <>
2022-08-29 18:01:58 +02:00
Kian Paimani 2d8177cf70 Companion for 12095 (#5924)
* Companion for 12095

* fix

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-08-28 13:41:43 +00:00
Shawn Tabrizi 5595c96d03 use generated preimage weight (#5904)
* use generated preimage weight

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-08-28 12:58:01 +00:00
Mara Robin B 83217b3e04 update weights (#5911)
* rococo: update weigths

* polkadot: update weigths

* kusama: update weigths

* westend: update weights

Co-authored-by: parity-processbot <>
2022-08-25 10:11:40 +00:00
Mara Robin B 09e91acb86 Clean up MigrateToV10 (#5921)
* Clean up MigrateToV10

* fixup
2022-08-25 09:13:44 +00:00
Bastian Köcher c3404d109d Companion for new Trie cache (#5897)
* Switch to Substrate branch

* Make everything compile

* Revert "Switch to Substrate branch"

This reverts commit cbbab7431a07cfd645428a9f4c130362a8e7588b.

* Remove stuff

* More fixes

* Fix branch

* Update Substrate

* FMT
2022-08-18 21:35:56 +00:00
Shawn Tabrizi 1f0a1cc0e5 Governance 2 (Part 1, Non-Controversial Changes) (#5892)
* initial stuff

* make copy data from kusama

* Update runtime/kusama/src/governance/old.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Update runtime/kusama/src/governance/mod.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2022-08-16 20:33:09 +00:00
Muharem Ismailov 219fd5a3ed Transaction payment runtime apis: query call info and fee details (#5871) 2022-08-15 14:39:01 +02:00
Sudip Ghimire 6fce9240ac Incorporate changes from substrate PR #11908 (#5815)
* Incorporate changes in kusama runtime

* Incorporate changes in polkdot runtime

* cargo update -p sp-io

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-08-14 19:53:31 +01:00
Kian Paimani 47de4b3738 Add nomination pools to Polkadot runtime (#5582)
* 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: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* fix

* fmt

* Update runtime/polkadot/src/lib.rs

Co-authored-by: Parity Bot <admin@parity.io>
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-08-14 17:00:09 +00:00
dependabot[bot] 6aef4711dc Bump tokio from 1.18.2 to 1.19.2 (#5678)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.18.2 to 1.19.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.2...tokio-1.19.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 13:12:03 +02:00
Kian Paimani 1ad7de583f add unit tests to run runtime migrations (#5865)
* add unit tests to run runtime migrations

* Update runtime/westend/src/lib.rs

Co-authored-by: Mara Robin B. <mara@broda.me>

* fix

* fmt

* Update runtime/westend/src/lib.rs

Co-authored-by: Mara Robin B. <mara@broda.me>
2022-08-11 06:24:11 +00:00
Oliver Tale-Yazdi 5c89040f67 Co #11952: Remove remove_member_wrong_refund from phragmen weights (#5848)
* Remove 'remove_member_wrong_refund' from phragmen weights

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-08-01 19:52:59 +00:00
Mara Robin B cb82d21708 update weights (#5844)
* westend: update weights

* kusama: update weights

* polkadot: update weights

* rococo: update weights

* update BlockExecutionWeight

* kusama: readd phragmen remove_member_wrong_refund weight

* polkadot: readd phragmen remove_member_wrong_refund weight
2022-08-01 13:13:21 +00:00
Mara Robin B 95b2976df1 Remove already executed calls to nompools MigrateToV2 migration (#5836) 2022-08-01 11:45:51 +02:00
Xavier Lau 4687a419eb Remove Unused Trait Bound (#5838) 2022-07-29 12:34:12 +00:00
Koute faeb3d944d Companion for substrate#11523 (#5702)
* Bump `parity-scale-codec` to 3.1.5

* Align tests to changes in substrate

* Apply rustfmt

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-07-29 09:07:11 +00:00
Mara Robin B 1a8b087129 update weights (#5767)
* polkadot: update weights

* kusama: update weights

* westend: update weights

* rococo: update weights

* Reduce testing constants (#5787)

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-07-28 19:35:39 +00:00
Chevdor bfc9efc944 bump transcation_version for rococo (#5760) (#5830)
* bump transcation_version

* revert back transaction version for kusama and plokadot as they were bumped in the previous release

Co-authored-by: Egor_P <egor@parity.io>
2022-07-28 11:57:41 +00:00
Chevdor 85dabbd850 Backport crate version bumps to 0.9.27 (#5826)
* Bump crate versions

* Update cargo.lock
2022-07-28 10:03:27 +00:00
Sergej Sakac c2df8308d7 Companion for #11831 (#5784)
* 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: kianenigma <kian@parity.io>
2022-07-27 09:32:31 +00:00
Kian Paimani 85b909a0b2 add migration for staking v10 (#5817) 2022-07-27 08:02:09 +00:00
Alexander Theißen cf18868afd Bump substrate (#5814)
* Bump substrate

* Bump spec version
2022-07-25 16:59:37 +00:00
Muharem Ismailov 7ad9cb90aa westend xcm: collectives parachain is trusted teleporter (#5798) 2022-07-21 11:50:00 +00:00
Oliver Tale-Yazdi 340e7be60d Co #11456: Expose benchmark extrinsic command (#5620)
* Expose 'benchmark extrinsic' command

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add test

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Split benchmarking into own mod

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Simplify code

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fixup

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Spell

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Revert Cargo.lock updates

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* update lockfile for {"substrate"}

* Fix brittle test

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Bump spec version to 9270

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Sleep in test to make it work in CI...

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Disable failing test

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Revert "Bump spec version to 9270"

This reverts commit c1c385d7a4dc849e7f4d4723740aec66c2b7be09.

* Delete brittle test, see #5788

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Disable failing test

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Delete more failing tests...

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Co-authored-by: parity-processbot <>
2022-07-19 14:11:38 +02:00
Xavier Lau 9e218944c4 Fix Typo (#5766) 2022-07-17 21:22:43 +02:00
Kian Paimani f61dd0a049 companion for new pools reward scheme (#5757)
* companion for new pools reward scheme

* fix build

* fix

* Fux

* update lockfile for {"substrate"}

* fmt

Co-authored-by: parity-processbot <>
2022-07-13 15:34:24 +00:00
ferrell-code a1672452e1 fix disable-runtime-api feature flag (#5773) 2022-07-12 21:43:13 +00:00
Chevdor 9fc4e16eff Version bump to v0.9.26/9260 (#5755)
* Bump spec_version to 9260

* Version bump to v0.9.26
2022-07-06 10:31:45 +00:00
Xavier Lau d0f81ba65f Rename extra_constant (#5749) 2022-07-06 10:04:52 +00:00
Chevdor 05bbba6f13 Backports from 0.9.25 (#5754)
* Bump impl_version for Westend (#5745)

* Bump Westend specs to 9251
2022-07-06 08:35:43 +00:00
Svyatoslav Nikolsky 3f29fd04e1 Remove bridges subtree (#5752)
* remove bridges folder

* remove BRIDGES.md

* remove bridges mentions from top Cargo.toml

* remove bridges from CODEOWNERS

* remove bridges mentions from testing.md

* remove bridge pallets from Rococo/Wococo runtime

* also remove from node
2022-07-06 06:54:38 +00:00
Kian Paimani bf9e324e8c backport minimum weight to fee to master (#5739)
* propose fix fees

* add tests to kusama runtime as well

* better tests

* last change

* last update

* Fix test

* ignore tests again
2022-06-29 20:26:07 +00:00
dependabot[bot] 09b10fa25e Bump parity-scale-codec from 3.1.2 to 3.1.5 (#5720)
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec) from 3.1.2 to 3.1.5.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases)
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/parity-scale-codec-3.1.2...parity-scale-codec-3.1.5)

---
updated-dependencies:
- dependency-name: parity-scale-codec
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 10:27:49 +00:00
Adrian Catangiu b9482cf788 Rococo: add new pallet-beefy-mmr API (companion for substrate#11406) (#5516)
* Rococo: add new pallet-beefy-mmr API

* rename BeefyMmr exposed api

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-22 19:31:56 +00:00
Mara Robin B 97f9b840e4 bump versions to 0.9.25 (#5684)
* 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
2022-06-21 13:02:04 +00:00
Mara Robin B 8ef2b701c1 update weights (#5704)
* westend: update weights

* kusama: update weights

* polkadot: update weights

* rococo: update weights
2022-06-21 12:58:01 +02:00
Mara Robin B 4d8fdf2e68 remove stale migrations (#5694)
* polkadot: remove stale migrations

* kusama: remove stale migrations
2022-06-17 22:19:01 +00:00
joe petrowski e58032e2e0 Remove Kusama Nomination Pools Init (#5605)
* remove kusama nomination pools init

* remove OnRuntimeUpgrade import

* remove stale migrations from westend

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-06-16 17:53:13 +00:00
Keith Yeung 2c85668512 Companion for paritytech/substrate#11631 (#5671)
* Companion for paritytech/substrate#11631

* Fixes

* Update sp-runtime

* Fixes

* update lockfile for {"substrate"}

* remove unused

Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-06-16 13:36:01 -04:00
Keith Yeung 2dfc7cec47 Allow relay chain council to send XCMs (#5597)
* Allow relay chain council to send XCMs

* Update runtime/kusama/src/xcm_config.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* spellcheck

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: joepetrowski <joe@parity.io>
2022-06-16 13:37:49 +00:00
ZhiYong a3125b9f47 Companion for substrate#11618 (#5677)
* Companion for substrate#11618

* Fix

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-16 02:05:22 +00:00
Georges 2ba1c54fc7 Companion to combine iteratons and tolerance in sp-npos-elections API #11498 (#5581)
* Fixing staking miner

* cargo update -p sp-io

* fix spell

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-06-15 20:57:26 -04:00
Bernhard Schuster 11357d4095 secondary filtering (#4783)
* filter again if it's the first statement and spam slots were applied

* Update runtime/parachains/src/disputes.rs

Co-authored-by: Andronik <write@reusable.software>

* fixins

* add a proper test case, simplify some code

Co-authored-by: Andronik <write@reusable.software>
2022-06-14 12:31:35 +00:00
Kian Paimani 5d8c842b45 add weights for pool::chill (#5670)
* add weights for pool::chill

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-13 23:02:02 +00:00
Kian Paimani 48385183db Enable nomination pool slashing on Kusama and westend (#5661)
* enable pool slashes on Kusama and westend

* fix
2022-06-13 20:41:10 +00:00
Keith Yeung f3c49cb790 Companion for paritytech/substrate#11584 (#5633)
* Companion for paritytech/substrate#11584

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-13 18:34:45 +00:00
Dominique 215ae1f134 Changed Bonding & SlashDefer Duration in Westend (#5634) 2022-06-07 16:05:58 +00:00
Gavin Wood 5f350d4d69 Companion for #11124 (#5615)
* Bump

* Formatting
2022-05-31 11:59:54 +01:00