mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 03:18:01 +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:
@@ -103,6 +103,7 @@ members = [
|
||||
"cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend",
|
||||
"cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo",
|
||||
"cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend",
|
||||
"cumulus/parachains/integration-tests/emulated/tests/collectives/collectives-westend",
|
||||
"cumulus/parachains/integration-tests/emulated/tests/people/people-rococo",
|
||||
"cumulus/parachains/integration-tests/emulated/tests/people/people-westend",
|
||||
"cumulus/parachains/pallets/collective-content",
|
||||
|
||||
Reference in New Issue
Block a user