Gavin Wood
ec21c0a24d
Companion for polkadot#7234 (XCM: Tools for uniquely referencing messages) ( #2601 )
...
* Fixes for new API
* Formatting
* Fixes
* Fixes
* Further fixes
* XCMP dispatch events mention message ID
* XCMP event includes ID
* Add DMP message ID functionality
* Integrate into test parachains
* Remove WithUniqueTopic usage
* Use new primitive
* Formatting
* undiener
* Revert lock
* Fixes
* Fixes
* Fixes
* Fixes
* Formatting
* message_hash becomes message_id
* Rename
* Another Rename
* Fixes
* Fix
* Bump
* Fixes
* Grumble.
2023-05-25 16:52:38 +01:00
Bastian Köcher
490ab62a6d
Companion for: Substrate#13869 ( #2631 )
...
* Companion for: Substrate#13869
https://github.com/paritytech/substrate/pull/13869
* Fix
* Warning
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-24 23:19:28 +00:00
Sergej Sakac
4023f519b6
Try-runtime proper return types ( #2615 )
...
* Try-runtime proper return types
* update
* update pallet-xcm
2023-05-23 09:59:52 +00:00
dependabot[bot]
5fb86be53f
Bump scale-info from 2.6.0 to 2.7.0 ( #2587 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.6.0 to 2.7.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/commits/v2.7.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-05-17 22:06:40 +02:00
Egor_P
0bab3ce64d
[Backport] version bumps from 9420 ( #2561 )
...
* Bump crate versions
* Bump spec_version to 9420
* Bump transaction_version (#2520 )
* bump trnsaction_version
* revert transaction_version bump for all except the collectives
* make cargo fmt happy again
2023-05-12 12:46:25 +00:00
Falco Hirschenberger
45530012da
companion PR for https://github.com/paritytech/substrate/pull/13373 ( #2547 )
...
* companion PR for https://github.com/paritytech/substrate/pull/13373
* Add missing trait function
* Fix template
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add missing weight functions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"polkadot", "substrate"}
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Falco Hirschenberger <falco.hirschenberger@itwm.fraunhofer.de >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2023-05-11 18:27:33 +00:00
Egor_P
83899e2f16
[Backport] weights from 9420 ( #2562 )
...
* [benchmarks] Update weights for collectives (#2532 )
* [benchmarks] pr with weights
* bump zombienet version (#2525 )
* bump zombienet version
* fix para registration args
---------
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: Javier Viola <javier@parity.io >
* [benchmarks] Update weights for bridge-hubs (#2533 )
* [benchmarks] pr with weights
* bump zombienet version (#2525 )
* bump zombienet version
* fix para registration args
---------
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: Javier Viola <javier@parity.io >
* [benchmarks] Update weights for statemine/t (#2535 )
* [benchmarks] pr with weights
* bump zombienet version (#2525 )
* bump zombienet version
* fix para registration args
---------
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: Javier Viola <javier@parity.io >
---------
Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: Javier Viola <javier@parity.io >
2023-05-11 06:22:19 +00:00
Muharem Ismailov
c89992f391
Collectives: xcm base weights ( #2550 )
2023-05-10 07:31:01 +00:00
joe petrowski
0d09c1e5d9
add set_invulnerables to SafeCallFilter ( #2537 )
2023-05-08 09:16:40 +00:00
Oliver Tale-Yazdi
299d25ba4b
Fix Clippy ( #2522 )
...
* Import Clippy config from Polkadot
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Auto clippy fix
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* No tabs in comments
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Prefer matches
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Dont drop references
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Trivial
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Refactor
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* add clippy to ci
* Clippy reborrow
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update client/pov-recovery/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/pov-recovery/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Partially revert 'Prefer matches'
Using matches! instead of match does give less compiler
checks as per review from @chevdor.
Partially reverts 8c0609677f3ea040f77fffd5be6facf7c3fec95c
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update .cargo/config.toml
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Revert revert 💩
Should be fine to use matches! macro since it is an explicit whitelist,
not wildcard matching.
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: alvicsam <alvicsam@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2023-05-06 08:01:03 +02:00
Muharem Ismailov
faf86c5b76
Companion: XCM remote lock config ( #2463 )
...
* xcm remote lock config
* rename
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-05 14:39:13 +00:00
dependabot[bot]
70bb6badc3
Bump scale-info from 2.5.0 to 2.6.0 ( #2500 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.5.0 to 2.6.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/commits )
---
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-05-02 10:08:28 +02:00
Keith Yeung
b441d05dac
Companion for paritytech/polkadot#7098 ( #2469 )
...
* Companion for paritytech/polkadot#7098
* Fixes
* Add missing benchmarked function
* Fix typo
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-04-27 10:48:22 +00:00
Branislav Kontur
4e3f0857ab
Align BridgeHub runtimes with other SP runtimes + reused test for teleport native tokens + some nits ( #2449 )
...
* Align BridgeHub runtimes with other SP runtimes
* Reused `teleports_for_native_asset_works` test to all bridge-hub runtime
* Fix import vs doc
* Removed unnecessery deps
* DealWithFees + ToAuthor->ToStakingPot for BH according to the other runtimes
* Update parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update parachains/runtimes/bridge-hubs/bridge-hub-polkadot/src/xcm_config.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/xcm_config.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Align all desc
* Extract runtime_para_id for test
* Fix test
---------
Co-authored-by: parity-processbot <>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-04-24 13:43:16 +00:00
Muharem Ismailov
1f7a6ae9d4
Companion for substrate#13771 ( #2410 )
...
* max proposal weight config
* update deps
---------
Co-authored-by: parity-processbot <>
2023-04-19 12:53:03 +00:00
Muharem Ismailov
fd2f200265
The Polkadot Fellowship import ( #2236 )
...
* Fellowship into Collectives
* cargo.lock
* tracks alias
* allow to send Fellows origin over XCM
* update todos, remove duplication of type
* use Collectives location for Fellows body
* alias for ranks constants
* benchmarks
* proxy for Fellowship
* docs
* correct copyright date
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* rustfmt
* remove council, update origins
* renames
* remove tech committee from promote origin
* renames
* Fellowship import
* test
* rename mod
* fix import
* updated addresses (only ss58 version)
* update addresses
* doc nits
* weights with new api
* update addresses
* fix try runtime
* update addresses
* use pallet api to import the members
* merge fix
* hex-literal version
* add Bradley to the 1 rank
---------
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2023-04-09 10:26:12 +00:00
dependabot[bot]
1a2af1f0ee
Bump hex-literal from 0.4.0 to 0.4.1 ( #2434 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.4.0...hex-literal-v0.4.1 )
---
updated-dependencies:
- dependency-name: hex-literal
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-04-05 21:57:14 +00:00
Egor_P
2e967de04e
[Backport] version bumps 9400 ( #2424 )
...
* Bump crate versions
* Bump spec_version to 9400
* bump transaction versions (#2364 )
2023-04-05 11:08:13 +00:00
Oliver Tale-Yazdi
aa567e0d5b
Co #13699 : Remove old calls ( #2431 )
...
* Remove old calls
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate", "polkadot"}
* Ignore warning in pallet ping
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Ignore more warnings...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.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: parity-processbot <>
2023-04-04 20:31:39 +00:00
Egor_P
eaf6c45445
[backport] weights 9400 ( #2425 )
...
* [benchmarks] pr with weights (#2373 )
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
* [benchmarks] pr with weights (#2374 )
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
* [benchmarks] pr with weights (#2375 )
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
* Proof size in test wasn't sufficient
(due to updated weights.)
---------
Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: Giles Cope <gilescope@gmail.com >
2023-04-04 14:00:05 +00:00
dependabot[bot]
cfc9cb1804
Bump hex-literal from 0.3.4 to 0.4.0 ( #2426 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.3.4 to 0.4.0.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.4...hex-literal-v0.4.0 )
---
updated-dependencies:
- dependency-name: hex-literal
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-04-03 21:53:58 +00:00
dependabot[bot]
4781d07bd0
Bump scale-info from 2.4.0 to 2.5.0 ( #2404 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.4.0 to 2.5.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.4.0...v2.5.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-03-30 16:06:58 +02:00
dependabot[bot]
bd5d804644
Bump scale-info from 2.3.1 to 2.4.0 ( #2386 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.3.1 to 2.4.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.3.1...v2.4.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-03-28 11:08:38 +02:00
joe petrowski
af46f4b41e
Add Support for Foreign Assets ( #2133 )
...
* add foreign assets to westmint
* add foreign assets to statemine
* use updated api for ensure origin trait
* Assets/ForeignAssets tests and fixes (#2167 )
* Test for create and transfer `TrustBackedAssets` with AssetTransactor
* Test for transfer `local Currency` with AssetTransactor
* Test for create foreign assets (covers foreign relaychain currency)
* Added `ForeignFungiblesTransactor` and test for transfer `ForeignAssets` with AssetTransactor
* Removed unused `pub const Local: MultiLocation`
* Changed `ParaId -> Sibling` for `SiblingParachainConvertsVia`
* Test for create foreign assets (covers local sibling parachain assets)
* Reverted stuff for ForeignCreators from different global consensus (moved to transfer asset branch)
* Refactor `weight_limit` for `execute_xcm`
* Added test for `set_metadata` by ForeignCreator with `xcm::Transact(set_metadata)`
* Renamed `receive_teleported_asset_works` -> `receive_teleported_asset_for_native_asset_works`
* Allow `ForeignCreators` only for sibling parachains
* Unify ReservedDmpWeight/ReservedXcmpWeight usage
* Removed hack - replaced with `MatchedConvertedConcreteId`
* Refactor `ForeignCreators` to assets-common
* Add `ReceiveTeleportedAsset` test
* Change test - `Utility::batch` -> Multiple `xcm::Transact`
* Reusing the same deposits as for TrustBackedAssets
* missing `try_successful_origin` ?
* Finished `ForeignAssets` for westmint (converter, FungiblesApi, tests)
* Refactoring tests - receive_teleported_asset_for_native_asset_works
* ForeignAssets for statemine + refactored `receive_teleported_asset_from_foreign_creator_works`
* Add `ForeignAssets` to statemine `FungiblesApi`
* Add `asset_transactor_transfer_with_local_consensus_currency_works` to all runtimes
* Added `asset_transactor_transfer_with_trust_backed_assets_works` test
* Added `asset_transactor_transfer_with_foreign_assets_works`
* Fix `missing `try_successful_origin` in implementation`
* Added `create_and_manage_foreign_assets_for_local_consensus_parachain_assets_works`
* Added `ExpectTransactStatus` check
* Small rename
* Extended `test_assets_balances_api_works` with ForeignAssets for `statemine`
* PR fixes
* Update parachains/runtimes/assets/test-utils/src/test_cases.rs
---------
Co-authored-by: parity-processbot <>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Added `StartsWithExplicitGlobalConsensus` to ignores (#2338 )
* Update parachains/runtimes/assets/common/src/lib.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
* include mint and burn in SafeCallFilter
* include mint and burn in SafeCallFilter (statemine)
* clarify doc
* Fix compilation (moved trait `InspectMetadata`)
* Fix test
* Extended test for `teleport` from/to relaychain + `CheckingAccount` (Part I)
* Extended test for `teleport` from/to foreign parachain + `CheckingAccount` (Part II)
* Fixed TODO - `NonLocal` for `ForeignAssets`
* Changed `NonLocal` to `NoChecking`
* Fix weight in test
---------
Co-authored-by: parity-processbot <>
Co-authored-by: muharem <ismailov.m.h@gmail.com >
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: Gavin Wood <gavin@parity.io >
2023-03-23 14:14:27 +00:00
Just van Stam
490593bf6e
Companion for polkadot#6928 ( #2356 )
...
* add AdminOrigin to all xcm-configs in cumulus
* cargo fmt
* Update Substrate & Polkadot
---------
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-03-23 10:36:03 +00:00
Muharem Ismailov
ef0d3fe7af
Introduce Fellowship into Collectives ( #2186 )
...
* Fellowship into Collectives
* cargo.lock
* tracks alias
* allow to send Fellows origin over XCM
* update todos, remove duplication of type
* use Collectives location for Fellows body
* alias for ranks constants
* benchmarks
* proxy for Fellowship
* docs
* correct copyright date
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* rustfmt
* remove council, update origins
* renames
* remove tech committee from promote origin
* renames
* doc nits
* weights with new api
* sane weights for pallet_scheduler
* XCM tweaks for OpenGov (#2305 )
* updated xcm configs for collectives and statemint
* remove xcm send from safe filter
* remove prod_or_fast
* remove empty line
* drop redundant aggregation
* remove match arm duplication
---------
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-03-21 13:10:37 +00:00
Gavin Wood
3b8978f1bd
Deprecate Currency: Companion for #12951 ( #2334 )
...
* Fix APIs
* Reflect API changes
* Everything builds
* Fixes
* Fixes
* Update Cargo.toml
* Fixes
* Fixes
* No networks use freezes/holds
* update lockfile for {"polkadot", "substrate"}
* Fix test
ED cannot be zero anymore.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-20 16:52:21 +00:00
Bastian Köcher
e2ec2e4d9c
Improve build times by disabling wasm-builder in no_std ( #2308 )
...
There is no need to compile wasm-builder in `no_std` as we skip the compilation of the crate any
way. So, we can also directly disable wasm-builder as dependency in `no_std` to improve build times.
2023-03-20 09:53:09 +01:00
Oliver Tale-Yazdi
c52062b869
Parachains should charge for proof size weight ( #2326 )
...
* Generalize trait requirement
Use the trait directly instead of something that will have a blanket
implementation for it.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Charge for proof size weight
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix doc comments
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Fix docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update lock file
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix imports
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: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-03-17 16:25:13 +00:00
Alexandru Vasile
18432bdc3a
Companion for #13287 ( #2155 )
...
* parachains: Adjust `sp_api::Metadata` to the new API
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* parachains: Implement new Metadata trait for bridge/polkadot
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update lockfile for {"substrate", "polkadot"}
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: parity-processbot <>
2023-03-15 19:22:04 +00:00
Squirrel
c75e1fc085
Backport: Brigehub: Add in force upgrade xcm version (into master) ( #2289 )
...
* Brigehub: Add in force upgrade xcm version.
(Same as assets and collectives)
* [Fix] Allow force_xcm_version call for assets parachains (#2276 )
* add force_xcm_version to safe calls (#2284 )
* Removing duplication
---------
Co-authored-by: Roman Useinov <roman.useinov@gmail.com >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-03-14 09:34:56 +00:00
Egor_P
6f7beb1095
[Backport] version bumps from 9380 ( #2309 )
...
* Bump crate versions
* bump transaction_version (#2191 )
2023-03-14 09:34:20 +00:00
Wilfried Kopp
39e5da3c3f
Bump all runtimes to 9381
2023-03-10 10:42:19 +01:00
Oliver Tale-Yazdi
70a0864e4c
Migrate to Weight::from_parts ( #2245 )
...
* Migrate to from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix remaining files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use Master Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* 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 >
2023-03-03 12:47:23 +00:00
Alexander Samusev
7e811c2c2f
[ci] Return benchmark to bm machines ( #2225 )
...
* [WIP][ci] Return benchmark to bm machines
* run build on docker machines
* restart pipeline
* rm docker runner
* fix refs
* add weights
* return ci
* fix asset benchmark
2023-02-23 11:50:38 +01:00
Muharem Ismailov
26b109bb82
Collectives chain xcm filter ( #2222 )
2023-02-23 02:24:01 +00:00
girazoki
41d912aaed
Companion for substrate#13159 ( #2136 )
...
* set setMembersOrigin
* Update Substrate & Polkadot
---------
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-02-13 11:49:47 +00:00
Egor_P
129a8ed3f9
remove collectives migrations ( #2103 ) ( #2150 )
...
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-02-07 10:50:39 +01:00
Bastian Köcher
51f1833cce
Companion: Remove uncles related code ( #2126 )
...
* Companion: Remove `uncles` related code
https://github.com/paritytech/substrate/pull/13216
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-01-29 22:17:24 +00:00
Stephen Shelton
65568f9dae
13110 Companion: Add WeightToFee and LengthToFee Runtime API ( #2073 )
...
* Add WeightToFee runtime API impls
* Fix typo
* Forgot some
* Update Substrate & Polkadot
* Update
---------
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-01-27 17:52:00 +00:00
Alexander Samusev
cef3ebca56
[ci] Update runners for benchmarks ( #2138 )
...
* [ci] Update runners for benchmarks
* run benchmarks in this pr to get weights
* run benches only
* comment .post jobs
* add docker env to benches
* add git diff to artifacts
* divide assets
* update weights
* return ci
* fix refs for benchmarks
2023-01-26 15:46:02 +01:00
Egor_P
5afb483cd5
[backport] version bumps from release 9370 ( #2095 )
...
* Bump crate versions
* Bump spec_version to 9370
Co-authored-by: parity-processbot <>
2023-01-19 10:27:08 +01:00
Gavin Wood
3a459e8fcf
XCM v3 Companion ( #697 )
...
* Fixes
* Undiener
* Undiener
* Undiener
* Lockfile
* Changes for send returning hash
* Include message ID as params to execute_xcm
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Companion fixes
* Formatting
* Fixes
* Formatting
* Bump
* Bump
* Fixes
* Formatting
* Make the price of UMP/XCMP message sending configurable
* cargo fmt
* Remove InvertLocation
* Formatting
* Use ConstantPrice from polkadot-runtime-common
* Fix naming
* cargo fmt
* Fixes
* Fixes
* Fixes
* Add CallDispatcher
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Remove unused import
* Remove unused import
* XCMv3 fixes (#1710 )
* Fixes XCMv3 related
Fixes XCMv3 (removed query_holding)
Fixes XCMv3 - should use _depositable_count?
Fixes XCMv3 - removed TrustedReserve
Fixes - missing weights for statemine/statemint/westmint
[DO-NOT-CHERRY-PICK] tmp return query_holding to aviod conficts to master
Fixes - missing functions for pallet_xcm_benchmarks::generic::Config
Fixes for XCMv3 benchmarking
Fix xcm - removed query_holding
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* Fix imports
* Avoid consuming XCM message for NotApplicable scenario (#1787 )
* Avoid consuming message for NotApplicable scenario
* Avoid consuming message for NotApplicable scenario tests
* Add 10 message processing limit to DMP queue
* Add 10 message limit to XCMP queue
* Always increment the message_processed count whenever a message is processed
* Fix formatting
* Set an upper limit to the overweight message DMP queue
* Add upper limit to XCMP overweight message queue
* Fix for missing weight for `fn unpaid_execution()`
* Fix - usage of `messages_processed`
* Fixes
* Fixes
* Fixes
* cargo fmt
* Fixes
* Fixes
* Fixes
* Fixes
* Remove unused import
* Fixes for gav-xcm-v3 (#1835 )
* Fix for FungiblesAdapter - trait changes: Contains -> AssetChecking
* Fix for missing weight for `fn unpaid_execution()`
* Used NonLocalMint for all NonZeroIssuance
* Fix
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fix tests
* Fixes
* Add SafeCallFilter
* Add missing config items
* Add TODO
* Use () as the PriceForParentDelivery
* Fixes
* Fixes
* Fixes
* Fixes
* Update transact_origin to transact_origin_and_runtime_call
* Add ReachableDest config item to XCM pallet
* Update SafeCallFilter to allow remark_with_event in runtime benchmarks
* cargo fmt
* Update substrate
* Fix worst_case_holding
* Fix DMQ queue unit tests
* Remove unused label
* cargo fmt
* Actually process incoming XCMs
* Fixes
* Fixes
* Fixes
* Fixes - return back Weightless
* Added measured benchmarks for `pallet_xcm` (#1968 )
* Fix
Fix
Fix
* Fix
* Fixes for transact benchmark
* Fixes add pallet_xcm to benchmarks
* Revert remark_with_event
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* Fixes
* TMP
* Fix for reserve_asset_deposited
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm
* Fix
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm
* Fix
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm
* Fix westmint
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* Fix
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm
* Fix for collectives
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm
* Fixes for bridge-hubs
* Fixes - return back Weightless
* Fix - removed MigrateToTrackInactive for contracts-rococo
Co-authored-by: command-bot <>
* cargo fmt
* Fix benchmarks
* Bko gav xcm v3 (#1993 )
* Fix
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm
Co-authored-by: command-bot <>
* Change AllowUnpaidExecutionFrom to be explicit
* xcm-v3 benchmarks, weights, fixes for bridge-hubs (#2035 )
* Dumy weights to get compile
* Change UniversalLocation according to https://github.com/paritytech/polkadot/pull/4097 (Location Inversion Removed)
* Fix bridge-hubs weights
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic
* Change NetworkId to Option<NetworkId>
Co-authored-by: command-bot <>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Add event for showing the hash of an UMP sent message (#1228 )
* Add UpwardMessageSent event in parachain-system
* additional fixes
* Message Id
* Fix errors from merge
* fmt
* more fmt
* Remove todo
* more formatting
* Fixes
* Fixes
* Fixes
* Fixes
* Allow explicit unpaid executions from the relay chains for system parachains (#2060 )
* Allow explicit unpaid executions from the relay chains for system parachains
* Put origin-filtering barriers into WithComputedOrigin
* Use ConstU32<8>
* Small nits
* formatting
* cargo fmt
* Allow receiving XCMs from any relay chain plurality
* Fixes
* update lockfile for {"polkadot", "substrate"}
* Update polkadot
* Add runtime-benchmarks feature
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: girazoki <gorka.irazoki@gmail.com >
Co-authored-by: parity-processbot <>
2023-01-17 09:26:34 +00:00
Oliver Tale-Yazdi
eb15b7e0f9
Co #6498 : Selectable on-runtime-upgrade checks ( #2057 )
...
* Use UpgradeCheckSelector
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* 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 >
2023-01-05 17:23:01 +00:00
Egor_P
279095fed2
Backport version bumps from 9360 ( #2037 )
...
* Bump crate versions
* Bump spec_version to 9360
* bump rococo and penpal spec_version
* bump txn versions (#2018 ) (#2020 )
2023-01-05 08:57:26 +00:00
Egor_P
cb87753ec7
Backport weights from 9360 ( #2038 )
...
* [benchmarks] pr with weights (#2026 )
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
* [benchmarks] pr with weights Collectives (#2025 )
* [benchmarks] pr with weights
* provide veto method for trait
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: muharem <ismailov.m.h@gmail.com >
* [benchmarks] pr with weights (#2027 )
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: muharem <ismailov.m.h@gmail.com >
2022-12-29 10:54:45 +00:00
Muharem Ismailov
29267961f8
Alliance: remove veto weight func ( #2030 )
...
* Alliance: remove veto weight func
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-12-22 20:49:52 +00:00
dependabot[bot]
0b228b9e68
Bump scale-info from 2.3.0 to 2.3.1 ( #1978 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.3.0 to 2.3.1.
- [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.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: scale-info
dependency-type: direct:production
update-type: version-update:semver-patch
...
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-12-16 09:50:50 +01:00
Kian Paimani
42c9988600
companion for try-runtime revamp ( #1997 )
...
* companion for try-rutnime revamp
* Fixes
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-12-15 10:50:52 +00:00
Gavin Wood
3396a70d8f
Introduce migrations for inactive balances ( #1943 )
...
* Introduce migrations
* Introduce migrations
* Bump
Co-authored-by: joepetrowski <joe@parity.io >
2022-12-13 12:48:37 +00:00