Roman Useinov
059ad8a388
[Substrate Companion] Part 1: add TargetList for validator ranking ( #5930 )
...
* [Substrate Companion] Part 1: add TargetList for validator ranking
* fix fmt
* don't change the pallet name
* eloquent migration
* fmt
* fix build
* update deps
* Cargo.lock conflicts resolved
* update deps
* Revert "update deps"
This reverts commit e0b07565854f9c66e5f30cdfe2c0a8f08457c96e.
* fix deps
Co-authored-by: kianenigma <kian@parity.io >
2022-09-18 17:00:13 +02:00
Oliver Tale-Yazdi
74c00bad59
Co #11976 : Enable rust features ( #5983 )
...
* Enable correct features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Feature gate function
The expose_db function is currently feature gated with runtime-benchmarks.
After the related Substrate MR, this feature gate will actually *work*
as intended instead of doing nothing.
BUT then we also have to pass through the correct feature, hence this MR.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* Fix bench features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fix more features
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: parity-processbot <>
2022-09-14 17:59:56 +00:00
Keith Yeung
a2c6536f77
Companion for paritytech/substrate#12219 ( #5987 )
...
* Companion for paritytech/substrate#12219
* Fixes
* update lockfile for {"substrate"}
* Fixes
* cargo fmt
Co-authored-by: parity-processbot <>
2022-09-13 15:48:17 +00:00
Sergej Sakac
8ea6076fe5
Companion for #11981 ( #5915 )
...
* 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: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-09-12 23:03:47 +00:00
Mara Robin B
db0fc60344
update weights (sync with v0.9.29) ( #5989 )
...
* kusama: update weights
* polkadot: update weights
* westend: update weights
* rococo: update weights
* fixup
* revert block weights
2022-09-12 11:48:27 +00:00
Kian Paimani
69aefab456
remove stale polkadot call filter ( #5969 )
...
* Remove stale polkadot call filter
* fix build
* really fix it
* unused import
* Fix
Co-authored-by: parity-processbot <>
2022-09-09 15:24:34 +00:00
Mara Robin B
1acc3fa150
Sync versions with current release (v0.9.29) ( #5982 )
...
* Bump transaction_version for westend
* Bump transaction_version for rococo
* Bump transaction_version for kusama
* Bump transaction_version for polkadot
* Bump spec_version to 9290
* Bump crate versions
2022-09-09 11:24:06 +00:00
Andronik
c79dd8751c
disputes rewards ( #5862 )
...
* 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
2022-09-08 13:36:01 +02:00
Ignacio Palacios
7f7f96a208
Update Rococo to mirror Kusama ( #5617 )
...
* upgrade to kusama base
* rollback epoch and clean up
* Substitue DOLLARS with UNITS
* money constatns to mirror Kusama
* fixing typo in test
* scheduler+collective+membership+preimage
* treasury+democracy+bounties+child_bounties+society
* tips+claim+identity+elections_phragmen+vesting
* recovery+gilt
* proxy+slot+auction+registar+crowdloan
* babe+epoch_time modificaction
* xcm_config
* xcm_config fix
* constants
* fix conflicts 2
* fmt
* update xcm_config
* revert xcm_config change
* fixing benchmarks
* cargo.lock
* Revert "babe+epoch_time modificaction"
This reverts commit 663cb0292c42c8a084a8c1c36cb966389576989b.
* fix benchamrks 2
* fix benchmarks 3
* typos
* miscelaneous
* fix constants test
* rollback comments
* rollback lease period
* fmt
* add ROC to spellcheck dictionary
* fix cargo.toml + fixes
* remove TODOs
* nit fix
* weights 1.5
* Bumping number of perm/temp slots available
Co-authored-by: al3mart <alejandro@parity.io >
Co-authored-by: alvicsam <alvicsam@gmail.com >
2022-09-08 11:20:34 +00:00
Keith Yeung
ef3b001b4e
Companion for paritytech/substrate#12183 ( #5971 )
...
* Companion for paritytech/substrate#12183
* Fixes
* Fixes
* Fixes
* cargo fmt
* Fixes
* Fixes
* Fixes
* cargo fmt
* Update runtime/parachains/src/paras_inherent/mod.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-09-08 05:05:03 +00:00
Roman Useinov
4a9e53c9e6
[Companion] Metadata delete on dissolve_pool ( #5955 )
...
* [Companion] Metadata delete on dissolve_pool
* deps upd
* merge
Co-authored-by: parity-processbot <>
2022-09-06 13:11:18 +00:00
Davide Galassi
293ff64fd0
Companion - Read babe config parameters from runtime ( #5842 )
...
* Read babe config parameters from runtime
* Trigger pipeline
* Trigger pipeline (after PR title change)
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-09-06 06:23:13 +00:00
Keith Yeung
41eff346cb
Companion of paritytech/substrate#12157 ( #5964 )
...
* Remove RefTimeWeight
* Fixes
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-09-02 19:12:06 +00:00
Shawn Tabrizi
e28bf2e476
Companion for Weight v1.5 Follow Up ( #5949 )
...
* 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 <>
2022-09-01 19:00:51 +00:00
Kian Paimani
f2020208c0
companion try-state ( #5907 )
...
* 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 <>
2022-09-01 14:24:03 +00:00
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
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
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
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
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
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
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
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
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
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
Gavin Wood
5f350d4d69
Companion for #11124 ( #5615 )
...
* Bump
* Formatting
2022-05-31 11:59:54 +01:00
Mara Robin B
3ea40ba1f7
update weights ( #5601 )
...
* polkadot: update weights
* kusama: update weights
* westend: update weights
* rococo: update weights
2022-05-30 12:41:11 +02:00
Mara Robin B
7eba8f2162
bump to 0.9.23 ( #5593 )
...
* bump version to 0.9.23
* bump spec_version to 9230
2022-05-27 10:18:23 +02:00