mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
cfc4050d6b
Issues addressed in this PR: - Improve *Penpal* runtime: - Properly handled received assets. Previously, it treated `(1, Here)` as the local native currency, whereas it should be treated as a `ForeignAsset`. This wasn't a great example of standard Parachain behaviour, as no Parachain treats the system asset as the local currency. - Remove `AllowExplicitUnpaidExecutionFrom` the system. Again, this wasn't a great example of standard Parachain behaviour. - Move duplicated `ForeignAssetFeeAsExistentialDepositMultiplierFeeCharger` to `assets_common` crate. - Improve emulated tests: - Update *Penpal* tests to new runtime. - To simplify tests, register the reserve transferred, teleported, and system assets in *Penpal* and *AssetHub* genesis. This saves us from having to create the assets repeatedly for each test - Add missing test case: `reserve_transfer_assets_from_para_to_system_para`. - Cleanup. - Prevent integration tests crates imports from being re-exported, as they were polluting the `polkadot-sdk` docs. There is still a test case missing for reserve transfers: - Reserve transfer of system asset from *Parachain* to *Parachain* trough *AssetHub*. - This is not yet possible with `pallet-xcm` due to the reasons explained in https://github.com/paritytech/polkadot-sdk/pull/3339 --------- Co-authored-by: command-bot <>
43 lines
2.4 KiB
TOML
43 lines
2.4 KiB
TOML
[package]
|
|
name = "asset-hub-westend-integration-tests"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
description = "Asset Hub Westend runtime integration tests with xcm-emulator"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.4.0", default-features = false }
|
|
assert_matches = "1.5.0"
|
|
|
|
# Substrate
|
|
sp-runtime = { path = "../../../../../../../substrate/primitives/runtime", default-features = false }
|
|
frame-support = { path = "../../../../../../../substrate/frame/support", default-features = false }
|
|
pallet-balances = { path = "../../../../../../../substrate/frame/balances", default-features = false }
|
|
pallet-assets = { path = "../../../../../../../substrate/frame/assets", default-features = false }
|
|
pallet-asset-conversion = { path = "../../../../../../../substrate/frame/asset-conversion", default-features = false }
|
|
pallet-treasury = { path = "../../../../../../../substrate/frame/treasury", default-features = false }
|
|
pallet-message-queue = { path = "../../../../../../../substrate/frame/message-queue", default-features = false }
|
|
|
|
# Polkadot
|
|
polkadot-runtime-common = { path = "../../../../../../../polkadot/runtime/common" }
|
|
xcm = { package = "staging-xcm", path = "../../../../../../../polkadot/xcm", default-features = false }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../polkadot/xcm/xcm-executor", default-features = false }
|
|
pallet-xcm = { path = "../../../../../../../polkadot/xcm/pallet-xcm", default-features = false }
|
|
westend-runtime = { path = "../../../../../../../polkadot/runtime/westend" }
|
|
|
|
# Cumulus
|
|
parachains-common = { path = "../../../../../../parachains/common" }
|
|
testnet-parachains-constants = { path = "../../../../../runtimes/constants", features = ["westend"] }
|
|
penpal-runtime = { path = "../../../../../runtimes/testing/penpal" }
|
|
asset-hub-westend-runtime = { path = "../../../../../runtimes/assets/asset-hub-westend" }
|
|
asset-test-utils = { path = "../../../../../runtimes/assets/test-utils" }
|
|
cumulus-pallet-xcmp-queue = { default-features = false, path = "../../../../../../pallets/xcmp-queue" }
|
|
cumulus-pallet-parachain-system = { default-features = false, path = "../../../../../../pallets/parachain-system" }
|
|
emulated-integration-tests-common = { path = "../../../common", default-features = false }
|
|
westend-system-emulated-network = { path = "../../../networks/westend-system" }
|