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
Branislav Kontur
ae2905df87
Changed query_account_balances return type ( #2455 )
2023-04-17 17:01:40 +02: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
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
Branislav Kontur
e225e54dc7
Companion for #6986 ( #2416 )
...
* refactor: apply substrate/pull/13610
* Added `origin` to config for `universal_origin` benchmark
* update lockfile for {"polkadot", "substrate"}
* Update
---------
Co-authored-by: William Freudenberger <w.freude@icloud.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-04-04 09:32:03 +00:00
Oliver Tale-Yazdi
0a882a818a
Co #13637 : Remove Weight::without_{ref_time, proof_size} ( #2346 )
...
* Remove Weight::without_{ref_time, proof_size}
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate", "polkadot"}
* add missing pallet-xcm-benchmarks function
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: acatangiu <adrian@parity.io >
2023-03-24 08:38:16 +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
Oliver Tale-Yazdi
44126eb857
XCM V2 weight template ( #2344 )
...
* Update XCM weight template
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove copyright year from file header
Legally not needed, we already remove them from Substrate.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"
This reverts commit c4ac1a88e2607309b726d6934273da4e5a54ca9f.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic
* Update weights
Done directly on bm2 to bypass the bot.
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: command-bot <>
2023-03-23 12:45:45 +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
Jegor Sidorenko
d43c88e166
NFTs 2.0 on Statemine ( #2314 )
...
* Add nfts pallet to statemine
* Add missing trait
* Add nfts pallet to SafeCallFilter
* Re-use uniques deposits
2023-03-21 11:25:05 +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
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
Jegor Sidorenko
2156cbc046
Companion for #13352 ( #2180 )
...
* Assets balances
* Update docs
* AssetsApi with MultiLocation as preparation for multi pallet_assets instances (#2187 )
* AssetsApi with MultiLocation for Westmint + assets-common
* AssetsApi with MultiLocation for Statemine/t
* typo
* typo for check-docs job
* WIP: AssetsApi return MultiAsset instead of (MultiLocation, Balance)
* WIP: assets_api + conversion refactor
* WIP: assets_api + conversion refactor
* Finished asset runtimes
* Refactor AssetsApi to FungiblesApi
* Refactor
* Fix check-rust-docs
* Removed todo
* Fix check-rust-doc
* Update parachains/runtimes/assets/common/Cargo.toml
Co-authored-by: Bastian Köcher <git@kchr.de >
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-03-02 14:37:18 +00:00
Sergej Sakac
47046d798c
Companion for #13486 ( #2253 )
...
* Companion for #13486
* fix
* Update Substrate & Polkadot
---------
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-03-02 11:28:27 +00:00
Egor_P
9fa8786e29
Tests + backport fix for teleport_assets (ReceiveTeleportedAsset) ( #2235 ) ( #2238 )
...
* Wwstmint test for ReceiveTeleportedAsset
* Missing fix for `weigh_multi_assets`
* Added tests for statemine/statemint
* [Enhancement] Use XCM V3 for initiate_teleport weight calc (#2102 )
* [Enhancement] Use XCM V3 for initiate_teleport weight calc
* deref
* replicate in all the runtimes
* fmt
* better handling for AllOf
* fmt
* small type fix
* replicate the fix for all runtimes
---------
Co-authored-by: parity-processbot <>
* removed `frame_support::sp_tracing::try_init_simple();`
* Review fixes
* Removed `as u64`
---------
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: Roman Useinov <roman.useinov@gmail.com >
2023-02-27 11:28:40 +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
Roman Useinov
2bfb3ea6f2
[Enhancement] Use XCM V3 for initiate_teleport weight calc ( #2102 )
...
* [Enhancement] Use XCM V3 for initiate_teleport weight calc
* deref
* replicate in all the runtimes
* fmt
* better handling for AllOf
* fmt
* small type fix
* replicate the fix for all runtimes
---------
Co-authored-by: parity-processbot <>
2023-02-09 15:01:01 +00: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
Keith Yeung
6f6bfc312c
Companion for paritytech/polkadot#6578 ( #2112 )
...
* Add ExpectTransactStatus benchmarking
* cargo fmt
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2023-01-19 08:43:15 +00:00
joe petrowski
00c9030f03
Instantiate All Assets Pallets ( #1908 )
...
* instantiate all assets pallets
* assets instance
* fmt
* fix merge errors
* fmt
* no default instance
* Generic AssetFeeAsExistentialDepositMultiplier
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* remove old import
* don't rename pallet in runtime
* fix merge
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-01-18 15:30:44 +00: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
Gavin Wood
8fee8059f3
Remove old migrations ( #2040 )
...
Co-authored-by: joepetrowski <joe@parity.io >
2023-01-11 18:29:25 +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
db663c5072
remove 9330 migrations from statemint series ( #2031 ) ( #2039 )
...
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-01-05 08:57:18 +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
4e611b11b1
Companion: Accept Kusama StakingAdmin origin ( #1865 )
...
* Companion: Accept Kusamsa StakinAdmin origin
* Fellows origin for xcmp queue controller
* plurality bodies to ensure origin
* include root into controller ensure origin
* fix
* use xcm bodies
* rename to more frequent "defense"
Co-authored-by: parity-processbot <>
2022-12-22 12:01:46 +00:00
Dino Pačandi
f9e49125ef
Companion for Substrate 12307 ( #1947 )
...
* Companion for pallet-assets callback
* Update lock file
2022-12-21 14:06:13 +00: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
Keith Yeung
8979aaa9d0
Companion for paritytech/substrate#12868 ( #1970 )
...
* Replace WEIGHT_PER_* with WEIGHT_REF_TIME_PER_*
* Fixes
* Fixes
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-12-08 17:36:30 +00:00
Squirrel
5263f269da
[benchmarks] pr with weights ( #1946 ) ( #1971 )
...
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: Egor_P <egor@parity.io >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
2022-12-08 12:38:58 +00:00
Egor_P
c6a3ed5ed4
[Backport] version bumps from 9330 ( #1956 )
...
* Bump crate versions
* Bump spec_version to 9330
* bump rococo and penpal spec_version (#1926 )
* bump txn versions (#1941 )
* bump txn versions
* bump rococo txn version
* bump bridge-hub-kusama spec_version
2022-12-08 11:11:34 +00:00
Branislav Kontur
c3df7db394
BridgeHubKusama - initial setup - (chain_spec + basic runtime without any bridging pallets) ( #1764 )
...
* [BridgeHub] Setup Rococo backbone parachain
* [BridgeHub] Setup Wococo parachain backbone (reused from Rococo)
[Bridge-Backport] Rebase-fix
BridgeHub] Added zombienet startup tomls for Rococo/Wococo
Fix typo
* [BridgeHub] Added chain_spec for live Rococo/Wococo
* [BridgeHub] Clean bridge-hub-rococo runtime
* [BridgeHub] Add bridge-hub-rococo to CI pipelines
* [BridgeHub] Added bridge-hub-kusama - empty runtime/chain_spec setup
* Fixes
* Fixes for BH
* Fixes for other runtimes - align all
* Fixes - const
* Fixes const
* Fixes
* Fix kusama-local
* Sample zombienet runs
* Fixes
* Fixes for benchmarking
* Fixes CI
* Fixes
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs frame_system
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_balances
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_session
* Fixes name
* Fixes readme
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_timestamp
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs cumulus_pallet_xcmp_queue
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection
* Fixes
* Fixes
* rustfmt
* Fixes
* Added pallet_utility/pallet_multisig
* Blind try for regex pr-custom-review.yml (added bridge-hub-kusama + collectives-polkadot)
* Fixes
* Fixes
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_utility
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_multisig
* Trying to fix sed expression?
* Added license headers + correct "DAG:" desc
Co-authored-by: command-bot <>
2022-12-02 14:06:39 +01:00
joe petrowski
021e1463bd
Companion for Substrate 12740 ( #1898 )
...
* add helper config trait
* benchmarkhelper
* update config
* update tests
* into
* update lockfile for {"substrate", "polkadot"}
* include benchmarks in tomls
Co-authored-by: parity-processbot <>
2022-11-28 20:31:09 +00:00
Branislav Kontur
aad3912924
Allow Sufficient Assets for XCM Fee Payment on Statemint #1884 ( #1910 )
...
* Allow Sufficient Assets for XCM Fee Payment on Statemint #1884
* Revert of removed payment.clone().into()
* Fixes
* Bring AssetFeeAsExistentialDepositMultiplier to test_asset_xcm_trader
* Fixes
2022-11-28 17:04:30 +01:00
Egor_P
693440673f
[Backport] weights from v9320 release branch ( #1890 )
...
* [benchmarks] pr with weights (#1857 )
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
* [benchmarks] Update weights for statemine/t (#1859 )
* [benchmarks] pr with weights
* Update parachains/runtimes/assets/westmint/src/weights/pallet_uniques.rs
* Update parachains/runtimes/assets/westmint/src/weights/pallet_assets.rs
* Update parachains/runtimes/assets/statemine/src/weights/pallet_assets.rs
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: Squirrel <gilescope@gmail.com >
* fix weights for destroy
Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: Squirrel <gilescope@gmail.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com >
2022-11-21 14:06:32 +00:00
Egor_P
9f69df28f4
[Backport] bump spec and txn versions from v9320 ( #1889 )
...
* bump rococo and penpal spec_version (#1885 )
* bump txn versions (#1851 )
* bump txn version
2022-11-18 07:31:49 +00:00
Branislav Kontur
f8a7f81e76
Fix for xcm weight benchmarks generation ( #1872 )
2022-11-15 13:49:59 +01:00
Anthony Alaribe
0710de7af9
Add migrations from pallet_asset to statemine, statemint and westmint ( #1742 )
...
* statemine: migrate pallet assets to v1
* statemint and westmint: migrate pallet assets to v1
* remove items limit
* update dependencies and crate imports
* change substrate version to dependent PR
* revert to master
* revert changes to cargo toml
* fix weights to test compilation with companion substrate branch
* change destroy etrinsic in westmint to new extrinsics
* update lockfile for {"polkadot", "substrate"}
* rebase
Co-authored-by: parity-processbot <>
2022-11-15 12:07:50 +00:00
Bastian Köcher
ac3e23f4c9
Set OnTimestampSet = Aura in all runtimes ( #1876 )
2022-11-15 11:21:46 +00:00