EgorPopelyaev
261e4397a0
Update polkadot dependencies
2023-03-22 15:07:14 +01:00
Keith Yeung
73661b7dea
XCM: Use matcher API in DenyReserveAssetTransferToRelay ( #2290 )
...
* Use matcher API in DenyReserveAssetTransferToRelay
* Fixes
* Fixes
* Fixes
* cargo fmt
2023-03-10 13:44:43 +00:00
Bastian Köcher
9b1ef63f4b
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
joe petrowski
85de406387
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
3aae882437
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
s0me0ne-unkn0wn
7d8d4d2106
Use primitives reexported from polkadot_primitives crate root ( #2067 )
...
* Use primitives reexported from `polkadot_primitives` crate root
* restart CI
* Fixes after merge
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2023-01-11 12:06:58 +00:00
dependabot[bot]
8cec35ccc8
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
Keith Yeung
f3847ead3c
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
Branislav Kontur
8cae878d12
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
Xavier Lau
32eb14c46a
Correct issue link ( #1904 )
2022-11-24 11:16:34 +01:00
Anthony Alaribe
f71bd8e633
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
dependabot[bot]
4b869cac55
Bump scale-info from 2.2.0 to 2.3.0 ( #1809 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.2.0 to 2.3.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.3.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 >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 13:18:24 +01:00
Chevdor
c06dea341a
fmt ( #1731 )
2022-10-05 13:01:58 +02:00
Alexander Theißen
7c8a9ff2aa
Companion: Remove contracts RPC ( #1685 )
...
* Remove contracts RPC
* update lockfile for {"polkadot", "substrate"}
* Remove unused imports
* Properly set a max proof size for cumulus test runtime
* Properly set a max proof size for common runtimes
* Properly set the max proof size for all runtimes
Co-authored-by: parity-processbot <>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-10-03 12:49:15 +00:00
Branislav Kontur
9f09698a07
Removed unused deps with cargo machete ( #1680 )
...
* Removed unused deps with `cargo machete`
* Removed unused deps with `cargo machete` for parachain-template
2022-09-29 13:44:08 +02:00
Branislav Kontur
a8df227df2
Small cosmetic nits ( #1679 )
2022-09-23 14:53:31 +02:00
Sergej Sakac
14186393b2
Rename Origin ( #1628 )
...
* Rename Origin
* more renaming
* fixes
* fix errors
* last fix?
* rename
* Update mock.rs
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-09-20 23:17:31 +00:00
joe petrowski
822c4d7962
Revert "[Fix] Weight calculations for Wild -> affects teleports ( #1639 )" ( #1640 )
...
This reverts commit 14115c82de .
2022-09-19 20:18:14 +00:00
Roman Useinov
14115c82de
[Fix] Weight calculations for Wild -> affects teleports ( #1639 )
...
* [Fix] Weight calculations for Wild -> affects teleports
* introduce a separate asset limit for teleports
* fix deposit
* reshuffle abstractions
* fix imports
* little refactoring
* Update parachains/common/src/xcm_config.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
* add comments
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-09-19 18:29:31 +00:00
dependabot[bot]
1df48c70db
Bump scale-info from 2.1.2 to 2.2.0 ( #1627 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.2 to 2.2.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 >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 22:52:51 +02:00
Sergej Sakac
b43bc58cb6
Companion for #11981 ( #1563 )
...
* Companion for #11981
* rename
* Event to RuntimeEvent in imports
* missed rename
* undo
* revert
* rename type Call & Event
* commit
* ...
* fix
* fix errors
* fixes
* fmt
* fix imports
* final fix?
* fmt
* fix?
* fixes after merge
* small fix
* cargo update -p polkadot-runtime-common
* cargo +nightly fmt
* update lockfile for {"polkadot", "substrate"}
* fix
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-09-12 23:55:33 +00:00
Shawn Tabrizi
9faf9b1e4f
Companion for Weight v1.5 Follow Up ( #1584 )
...
* fixes
* oopsie
* [ci] Apply cargo-fmt
* fixes
* [ci] Apply cargo-fmt
* fixes
* fix cumulus template
* fix merge
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: parity-processbot <>
2022-09-01 19:25:05 +00:00
Shawn Tabrizi
3fb9c8a7be
Companion for Weight v1.5 ( #1581 )
...
* cargo test -p cumulus-primitives-utility
* cargo test -p cumulus-pallet-xcmp-queue
* cargo test -p cumulus-pallet-xcm
* cargo test -p cumulus-pallet-dmp-queue
* cargo test -p pallet-template
* cargo test -p cumulus-test-runtime
* fix weights
* fix more weights
* cargo test -p parachains-common
* cargo test -p parachain-template-runtime
* fix weights import
* cargo test -p collectives-polkadot-runtime
* cargo test -p contracts-rococo-runtime
* more
* unused
* fixes
* Update benchmarking.rs
* Update lib.rs
* Update lib.rs
* fix
* fix bug in conversion
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2022-08-31 12:24:42 +00:00
Roman Useinov
1ab196df49
[Feature] Limit collectives teleports to DOT ( #1579 )
...
* [Feature] Limit collectives teleports to DOT
* Update pallets/xcm/src/lib.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* fix review comments
* Update parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* [ci] Apply cargo-fmt
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
2022-08-31 11:27:14 +00:00
girazoki
4d04eebb44
Statemint runtimes to accept sufficient assets as xcm fee payment ( #1278 )
...
* point to my branch
* girazoki-add-TakeFirstAssetTrader-to-utility
* Commit lock
* point at custom branch
* add new trader to statemine runtimes
* compiles
* Back to master
* Update last tomls
* Imports up
* remove non-needing imports
* FMT
* log messages properly
* Use TakeRevenue instead of HandleCredit
* Introduce xcm fee handler
* check total supply in tests
* FMT
* fix test
* Start decoupling balance calculation into different traits
* Make traits a bit more generic
* PR suggestions
* add import
* import well
* Place xcmfeesassethandler into parachains common
* fix tests
* config parameters
* Min amount to fee receiver
* Make minimum amount for block author to be at least the ED
* Doc in AssetFeeAsExistentialDepositMultiplier
* saturating sub
* make sure we dont enter twice
* FMT
* fmt again
* adapt tests
* Add doc and struct for weight refund
* Doc
* More doc
* PR suggestions
* store all info related to asset payment as multiasset
* return AssetNotFound instead of TooExpensive
* Use asset transactor to deposit fee
* uninstall from statemint
* R for RUntime and CON for BalanceConverter
* Rework logic to avoid unnecesary match and error
* Rework ED check, also in case of refund
* rework typo
* In case refund makes drop below ED, just refund the difference
* fix test westmint
* clone id
* move test imports to preamble
* move test imports to preamble
* test-utils with builderS
* lock file updated
* remove unused imports
Co-authored-by: Stephen Shelton <steve@brewcraft.org >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: joepetrowski <joe@parity.io >
2022-08-03 16:04:13 +00:00
joe petrowski
0c4a9f0801
Statemint Should Not Recognise DOT Reserves ( #1318 )
...
* recognise no reserves
* adjust should_execute
* docs and pass should_execute
* typo
2022-06-01 11:11:31 +00:00
Squirrel
9405a969f0
dir restructure to support more CGP ( #1266 )
...
* rerame res to chain-specs
* split polkadot-parachains dir
* rename dir parachains-common to common
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-05-20 13:43:04 +01:00