joe petrowski
0224d1420b
Add Foreign Assets to Statemint ( #2540 )
...
* add foreign assets to statemint
* make review changes
* two dots
---------
Co-authored-by: parity-processbot <>
2023-05-23 15:13:19 +00:00
Jegor Sidorenko
93b30fe8d8
NFT Fractionalization on Westmint ( #2600 )
...
* NFT Fractionalization on Westmint
* Typos
* One more typo
* Undo Cargo.lock
* Point to master
* Referense the first instance of the assets pallet
* Update cargo.lock
---------
Co-authored-by: parity-processbot <>
2023-05-23 11:04:44 +00:00
Branislav Kontur
17b2e1b300
BridgeHubRococo/Wococo nits + updated subtree ( #2572 )
...
* Nits (merge before separatelly)
* Small cosmetics for Rococo/Wococo bridge local run
* Squashed 'bridges/' changes from 04b3dda6aa..5fc377ab34
5fc377ab34 Support for kusama-polkadot relaying (#2128 )
01f4b7f1ba Fix clippy warnings (#2127 )
696ff1c368 BHK/P alignments (#2115 )
2a66aa3248 Small fixes (#2126 )
7810f1a988 Cosmetics (#2124 )
daf250f69c Remove some `expect()` statements (#2123 )
1c5fba8274 temporarily remove balance guard (#2121 )
3d0e547361 Propagate message receival confirmation errors (#2116 )
1c33143f07 Propagate message verification errors (#2114 )
b075b00910 Bump time from 0.3.20 to 0.3.21
51a3a51618 Bump serde from 1.0.160 to 1.0.162
da88d044a6 Bump clap from 4.2.5 to 4.2.7
cdca322cd6 Bump sysinfo from 0.28.4 to 0.29.0
git-subtree-dir: bridges
git-subtree-split: 5fc377ab34f7dfd3293099c5feec49255e827812
* Fix
* Allow to change storage constants (DeliveryReward, RequiredStakeForStakeAndSlash) + tests
* Clippy
* New SA for RO/WO
* Squashed 'bridges/' changes from 5fc377ab34..0f6091d481
0f6091d481 Bump polkadot/substrate (#2134 )
9233f0a337 Bump tokio from 1.28.0 to 1.28.1
a29c1caa93 Bump serde from 1.0.162 to 1.0.163
git-subtree-dir: bridges
git-subtree-split: 0f6091d48184ebb4f75cb3089befa6b92cf37335
2023-05-16 22:33:30 +00: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
joe petrowski
943e2c8622
Substrate 13843 (Asset Freezing) Companion ( #2437 )
...
* add migrations
* fix pallet instancing in migration
* migrate by instance
* weights
* remove migrations
* update weights
* update weights
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: muharem <ismailov.m.h@gmail.com >
Co-authored-by: parity-processbot <>
2023-05-08 11:04:15 +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
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
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
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
Jegor Sidorenko
654f98df12
Companion for #13482 ( #2303 )
...
* Add migration
* Remove parentheses
* Return back + add a comma
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-03-13 09:05:57 +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
Jegor Sidorenko
ab26b743f7
Companion for #13349 ( #2217 )
...
* Companion for #13349
* Add missing line
* Cargo.lock
---------
Co-authored-by: parity-processbot <>
2023-02-24 08:24:28 +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
Jegor Sidorenko
668e5d52c6
Companion for #13390 ( #2189 )
...
* Weights for offchain atrribute updates
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-02-22 14:28:24 +00:00
Jegor Sidorenko
fe85532990
Companion for #13158 ( #2121 )
...
* Companion for #13158
* Update values
* Add MaxAttributesPerCall
* Update weights
* Apply suggestions
* Fix imports
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-02-14 09:00:22 +00: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
Branislav Kontur
593727d90b
Removed forgotten unused pub Ancestry: MultiLocation ( #2124 )
2023-01-24 10:48:54 +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
Jegor Sidorenko
58d2e7de29
NFTs 2.0 on Westmint ( #2058 )
...
* Add nfts pallet to westmint config
* Fmt
* Use ConstU32
2023-01-06 11:02:17 +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