mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 12:11:02 +00:00
6f3d890ed3
Introduce types to define 1:1 balance conversion for different relative
asset ids/locations of native asset.
Examples:
native asset on Asset Hub presented as `VersionedLocatableAsset` type in
the context of Relay Chain is
```
{
`location`: (0, Parachain(1000)),
`asset_id`: (1, Here),
}
```
and it's balance should be converted 1:1 by implementations of
`ConversionToAssetBalance` trait.
---------
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
43 lines
2.4 KiB
TOML
43 lines
2.4 KiB
TOML
[package]
|
|
name = "asset-hub-rococo-integration-tests"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
description = "Asset Hub Rococo 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-message-queue = { path = "../../../../../../../substrate/frame/message-queue", default-features = false }
|
|
pallet-treasury = { path = "../../../../../../../substrate/frame/treasury", default-features = false }
|
|
pallet-utility = { path = "../../../../../../../substrate/frame/utility", default-features = false }
|
|
|
|
# Polkadot
|
|
xcm = { package = "staging-xcm", path = "../../../../../../../polkadot/xcm", default-features = false }
|
|
pallet-xcm = { path = "../../../../../../../polkadot/xcm/pallet-xcm", default-features = false }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../polkadot/xcm/xcm-executor", default-features = false }
|
|
rococo-runtime = { path = "../../../../../../../polkadot/runtime/rococo" }
|
|
polkadot-runtime-common = { path = "../../../../../../../polkadot/runtime/common" }
|
|
rococo-runtime-constants = { path = "../../../../../../../polkadot/runtime/rococo/constants" }
|
|
|
|
# Cumulus
|
|
asset-test-utils = { path = "../../../../../runtimes/assets/test-utils" }
|
|
cumulus-pallet-parachain-system = { path = "../../../../../../pallets/parachain-system", default-features = false }
|
|
parachains-common = { path = "../../../../../common" }
|
|
asset-hub-rococo-runtime = { path = "../../../../../runtimes/assets/asset-hub-rococo" }
|
|
penpal-runtime = { path = "../../../../../runtimes/testing/penpal" }
|
|
emulated-integration-tests-common = { path = "../../../common", default-features = false }
|
|
rococo-system-emulated-network = { path = "../../../networks/rococo-system" }
|