Squirrel
bf6c731d41
nit: diff minimisation between asset hub runtimes ( #2951 )
...
* diff minimisation between runtimes
* another nit
* Update parachains/runtimes/assets/asset-hub-westend/src/xcm_config.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update parachains/runtimes/assets/asset-hub-polkadot/src/xcm_config.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Upgrade english
* Removed unused `CheckedExtrinsic` (#2972 )
---------
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
2023-08-16 06:17:56 +00:00
dependabot[bot]
6b07f1306f
Bump log from 0.4.19 to 0.4.20 ( #3009 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.19 to 0.4.20.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20 )
---
updated-dependencies:
- dependency-name: log
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>
2023-08-15 23:02:53 +02:00
Oliver Tale-Yazdi
6c79b58567
Use same fmt and clippy configs as in Polkadot ( #3004 )
...
* Copy rustfmt.toml from Polkadot master
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Format with new config
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add Polkadot clippy config
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update Cargo.lock
Looks like https://github.com/paritytech/polkadot/pull/7611 did not
correctly update the lockfile. Maybe a different Rust Version?!
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-14 20:30:12 +00:00
Gavin Wood
0765e2d152
Polkadot parachains get topic-based message IDs ( #2642 )
...
* Polkadot parachains get topics
* Formatting
---------
Co-authored-by: joepetrowski <joe@parity.io >
Co-authored-by: parity-processbot <>
2023-08-10 09:08:56 +00:00
Oleg Plakida
fc83800e5e
Update weights with VM runners ( #2712 )
...
* paritytech/ci-cd#697 : Update weights with VM runners
- Update weights using VM instances
- Change runner tag for weights ci job to weights-vm
* ".git/.scripts/commands/bench/bench.sh" all
* ".git/.scripts/commands/bench-all/bench-all.sh" --target_dir=cumulus
---------
Co-authored-by: parity-processbot <>
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
2023-08-01 17:37:18 +01:00
Branislav Kontur
a4ae46b743
Companion for Polkadot#7563 ( #2956 )
...
* `XcmContext` to `buy_weight / refund_weight`
* Fix tests
* Fix more tests
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-08-01 12:14:34 +00:00
Branislav Kontur
7995da0460
[xcm ] Compatibility fix for xcm benchmarks ( #2934 )
...
* Compatibility fix for xcm benchmarks (cause of missing companion)
* ".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=asset-hub-polkadot --runtime_dir=assets --target_dir=cumulus --pallet=pallet_xcm_benchmarks::fungible
* Fix for reserve_asset_deposited (https://github.com/paritytech/cumulus/issues/1974 )
* Revert back hard-coded 1_000_000_000_u64 for `reserve_asset_deposited` with TODOs
* ".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=asset-hub-kusama --runtime_dir=assets --target_dir=cumulus --pallet=pallet_xcm_benchmarks::fungible
---------
Co-authored-by: command-bot <>
2023-07-26 12:49:10 +00:00
Branislav Kontur
8171890f9b
Asset conversion nits ( #2860 )
...
* [asset-conv] Unused Balances type
* [asset-conv] native asset change
* Dedicated `AssetBalance` type for `pallet_assets` instances
* Improved local vs foreign asset handling + test for not allowing pool_assets in pool
* Removed `into_multiasset_id`
* Fix
* Refactor
* Fixed create_pool for benchmark with LocalAndForeignAssets (finally found it)
* ".git/.scripts/commands/fmt/fmt.sh"
* Revert
* fmt
* Migrates pools with `MultiLocation { parents: 0, interior: Here }` to `MultiLocation { parents: 1, interior: Here }`
* Allow `set_storage` for `AllowMultiAssetPools` / `LiquidityWithdrawalFee`
* Benchmarks work
* Removed comment + more defensive migration
* `T::Currency::transfer` -> `Balances::transfer_all` in migration
* Change pool_id in migration
* Update parachains/runtimes/assets/asset-hub-westend/src/lib.rs
* Bump substrate (manually)
* Bump polkadot
* Fixes from polkadot + clippy
* Fix for xcm-emulator tests (thank you Nacho)
---------
Co-authored-by: command-bot <>
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
2023-07-21 23:53:51 +02:00
Juan
3513b7e019
Replace Index for Nonce ( #2740 )
...
* replace Index for Nonce
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-07-14 08:46:49 +00:00
gupnik
24d6e46ad0
Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber ( #2790 )
...
* Fixes
* Removes unused import
* Uses Block and removes BlockNumber/Header from Chain
* Fixes bridges
* Fixes
* Removes unused import
* Fixes build
* Uses correct RelayBlock
* Minor fix
* Fixes glutton-kusama
* Uses correct RelayBlock
* Minor fix
* Fixes benchmark for pallet-bridge-parachains
* Adds appropriate constraints
* Minor fixes
* Removes unused import
* Fixes integrity tests
* Minor fixes
* Updates trait bounds
* Uses custom bound for AsPrimitive
* Fixes trait bounds
* Revert "Fixes trait bounds"
This reverts commit 0b0f42f583f3a616a88afe45fcd06d31e7d9a06f.
* Revert "Uses custom bound for AsPrimitive"
This reverts commit 838e5281adf8b6e9632a2abb9cd550db4ae24126.
* No AsPrimitive trait bound for now
* Removes bounds on Number
* update lockfile for {"substrate", "polkadot"}
* Formatting
* ".git/.scripts/commands/fmt/fmt.sh"
* Minor fix
---------
Co-authored-by: parity-processbot <>
2023-07-13 13:30:28 +00:00
Michal Kucharczyk
94d2e4bc28
GenesisBuild<T,I> deprecated. BuildGenesisConfig added (#2757 )
...
* GenesisBuild<T,I> deprecated. BuildGenesisConfig added
* ".git/.scripts/commands/fmt/fmt.sh"
* integration-tests/emulated: ..Default::default added to genesis configs
* Cargo.lock updated
* Cargo.lock updated
* update lockfile for {"polkadot", "substrate"}
* clippy fixes
* clippy fixes
* clippy fixes again
---------
Co-authored-by: command-bot <>
2023-07-12 12:00:17 +00:00
joe petrowski
5a8134029a
Better Handling of Candidates Who Become Invulnerable ( #2801 )
...
* remove candidate when to invulnerable
* fix
* candidates to collators
* make parameters consistent and more reasonable
* add call to kick invulnerable candidates
* factor removal into weight
* fix: use accrue instead of add
* make set_invulnerables non-atomic
* benchmark add_invulnerable to account for candidate removal
* don't remove from candidates with set_invulnerables
* fix bounds on benchmarking
* protect against zero min invulnerables underflow
* extra event and tests
* make candidates/invulnerables self-cleaning on session change
* add integrity test
* unused imports
* make rococo-contracts have 1 collator
2023-07-07 11:18:27 +00:00
joe petrowski
8f75f13e5a
Add New Assets Privileged Functions to Appropriate Proxy Types ( #2839 )
2023-07-06 17:11:14 +00:00
dependabot[bot]
dd0d9d2789
Bump smallvec from 1.10.0 to 1.11.0 ( #2832 )
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: smallvec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 10:19:27 +00:00
dependabot[bot]
c5fd43cee2
Bump scale-info from 2.8.0 to 2.9.0 ( #2815 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.8.0...v2.9.0 )
---
updated-dependencies:
- dependency-name: scale-info
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 23:52:08 +02:00
Branislav Kontur
9486fe9704
Companion for substrate#14435 (BenchmarkHelper for frame-system) ( #2766 )
...
* Temporary fix for frame_system::set_code benchmark
* Removed temprary fix
* BenchmarkHelper for frame-system (TODO: add stuff for ParachainSystem OnSetCode)
* BenchmarkHelper for frame-system (TODO: add stuff for ParachainSystem OnSetCode)
* Glutton
* Fix benchmarks for `set_code`
* Changed dummy values to non-zero
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-06-23 12:34:54 +00:00
dependabot[bot]
ca058e9e8b
Bump scale-info from 2.7.0 to 2.8.0 ( #2768 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.7.0...v2.8.0 )
---
updated-dependencies:
- dependency-name: scale-info
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 12:23:04 +02:00
Branislav Kontur
43c9a94969
AssetHubs - split weights for pallet_assets ( #2743 )
...
* AssetHubs - split weights for pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
* Rename weight file for pallet_assets instances (polkadot)
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
* Rename weight file for pallet_assets instances (kusama/westend)
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
* Changed `pallet_assets_remote` -> `pallet_assets_foreign`
* fmt
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
---------
Co-authored-by: parity-processbot <>
2023-06-20 15:48:25 +00:00
Egor_P
7c28c5319a
[Backport] version bumps from 9430 ( #2709 )
...
* Bump crate versions
* Bump spec_version to 9430
2023-06-19 13:57:25 +00:00
dependabot[bot]
49815cee3c
Bump log from 0.4.18 to 0.4.19 ( #2728 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.18 to 0.4.19.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.18...0.4.19 )
---
updated-dependencies:
- dependency-name: log
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>
2023-06-13 12:38:47 +02:00
asynchronous rob
08d0acf10e
Update all uses of pallet-aura to disallow multiple blocks per slot ( #2707 )
...
* Update all uses of pallet-aura to disallow multiple blocks per slot
* use ConstBool
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-06-09 21:47:35 +00:00
Egor_P
a6597ba645
[Backport] weights 9430 to master ( #2710 )
...
* [benchmarks] pr with weights (#2667 )
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
* [benchmarks] pr with weights (#2668 )
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
* [benchmarks] pr with weights (#2669 )
co-authored-by: paritytech-ci <paritytech-ci@parity.io >
---------
Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
2023-06-08 09:39:37 +00:00
Muharem Ismailov
ce0dcd5741
Runtime: Polkadot Fellowship promotion/demotion periods, members activity and salaries ( #2607 )
...
* core fellowship
* core fellowship weights
* salary
* weights
* fellowship pot
* registration period 15 days
* use treasury account for salary pay, promotion origin
* decision period for tracks 30 days
* docs
* comment
* Couple of fixes and some refactoring
* Alter curves to be a bit more conservative
* Use `PayOverXcm` for fellowship salary payments
* Docs and remove unneeded code
* Fixes
* Move Fellowship stuff in line with whitepaper
* fix: induction by a single Fellow (not proficient)
* doc fix
* renames, pallet index, allow unpaid for salary pallet
* Fix budget units
* Fixes
* Test sovereign account for Fellowship salaries
* Nice address test
* Fixes
* test for PayOverXcm setup
* Update parachains/runtimes/collectives/collectives-polkadot/src/fellowship/mod.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
---------
Co-authored-by: Gav <gavin@parity.io >
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-06-06 11:48:15 +01:00
Just van Stam
119604ed2d
companion for xcm alias origin ( #2680 )
...
* companion for xcm alias origin
* update lockfile for {"polkadot", "substrate"}
* add benchmark function for runtimes
---------
Co-authored-by: parity-processbot <>
2023-06-05 16:07:02 +00:00
Gavin Wood
2a4edaf39c
Companion for #7329 : XCM: Remove & replace Polkadot's Convert trait ( #2688 )
...
* Fixups for new Convert APIs
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-06-05 11:40:33 +00:00
joe petrowski
6007549589
Rename Statemint to Asset Hub ( #2633 )
...
* change dir names
* cargo toml updates
* fix crate imports for build
* change chain spec names and PR review rule
* update cli to accept asset-hub
* find/replace benchmark commands
* integration tests
* bridges docs
* more integration tests
* AuraId
* other statemint tidying
* rename statemint mod
* chain spec mod
* rename e2e test dirs
* one more Runtime::Statemine
* benchmark westmint
* rename chain spec name and id
* rename chain spec files
* more tidying in scripts/docs/tests
* rename old dir if exists
* Force people to manually do the move.
(Safer as there could be additional considerations with their setup)
* review touchups
* more renaming
* Update polkadot-parachain/src/command.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* better error message
* do not break on-chain spec_name
* log info message that path has been renamed
* better penpal docs
---------
Co-authored-by: gilescope <gilescope@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: parity-processbot <>
2023-06-02 09:58:19 +00:00