mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 06:51:07 +00:00
FRAME: Unity Balance Conversion for Different IDs of Native Asset (#3659)
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>
This commit is contained in:
Generated
+35
@@ -820,17 +820,22 @@ dependencies = [
|
||||
"assert_matches",
|
||||
"asset-hub-rococo-runtime",
|
||||
"asset-test-utils",
|
||||
"cumulus-pallet-parachain-system",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"pallet-asset-conversion",
|
||||
"pallet-assets",
|
||||
"pallet-balances",
|
||||
"pallet-message-queue",
|
||||
"pallet-treasury",
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"penpal-runtime",
|
||||
"polkadot-runtime-common",
|
||||
"rococo-runtime",
|
||||
"rococo-runtime-constants",
|
||||
"rococo-system-emulated-network",
|
||||
"sp-runtime",
|
||||
"staging-xcm",
|
||||
@@ -2830,6 +2835,36 @@ dependencies = [
|
||||
"testnet-parachains-constants",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "collectives-westend-integration-tests"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"assert_matches",
|
||||
"asset-hub-westend-runtime",
|
||||
"collectives-westend-runtime",
|
||||
"cumulus-pallet-parachain-system",
|
||||
"cumulus-pallet-xcmp-queue",
|
||||
"emulated-integration-tests-common",
|
||||
"frame-support",
|
||||
"pallet-asset-rate",
|
||||
"pallet-assets",
|
||||
"pallet-balances",
|
||||
"pallet-message-queue",
|
||||
"pallet-treasury",
|
||||
"pallet-utility",
|
||||
"pallet-xcm",
|
||||
"parachains-common",
|
||||
"parity-scale-codec",
|
||||
"polkadot-runtime-common",
|
||||
"sp-runtime",
|
||||
"staging-xcm",
|
||||
"staging-xcm-executor",
|
||||
"testnet-parachains-constants",
|
||||
"westend-runtime",
|
||||
"westend-runtime-constants",
|
||||
"westend-system-emulated-network",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "collectives-westend-runtime"
|
||||
version = "3.0.0"
|
||||
|
||||
Reference in New Issue
Block a user