Assets in pool with native can be used in `query_weight_to_asset_fee` (#6080)
A follow-up to https://github.com/paritytech/polkadot-sdk/pull/5599. Assets in a pool with the native one are returned from `query_acceptable_payment_assets`. Now those assets can be used in `query_weight_to_asset_fee` to get the correct amount that needs to be paid. --------- Co-authored-by: command-bot <>
parent
6418131a
Showing
- cumulus/parachains/integration-tests/emulated/common/src/macros.rs 68 additions, 0 deletions...arachains/integration-tests/emulated/common/src/macros.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo/src/lib.rs 1 addition, 1 deletion...n-tests/emulated/tests/assets/asset-hub-rococo/src/lib.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo/src/tests/swap.rs 5 additions, 0 deletions.../emulated/tests/assets/asset-hub-rococo/src/tests/swap.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/src/lib.rs 1 addition, 1 deletion...-tests/emulated/tests/assets/asset-hub-westend/src/lib.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/src/tests/swap.rs 5 additions, 0 deletions...emulated/tests/assets/asset-hub-westend/src/tests/swap.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs 27 additions, 17 deletions...us/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs 29 additions, 18 deletions...s/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
- cumulus/parachains/runtimes/assets/common/src/lib.rs 33 additions, 0 deletionscumulus/parachains/runtimes/assets/common/src/lib.rs
- prdoc/pr_6080.prdoc 22 additions, 0 deletionsprdoc/pr_6080.prdoc