PolkadotXCM Reserve Transfer Asset with Multiple Asset and FeeItem is Zero (0) #3661
Open
2 tasks done
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
T6-XCM
This PR/Issue is related to XCM.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
We are testing doing a transfer from Polkadot AssetHub to Moonbeam (using Chopsticks), and we noticed the weirdest issue.
When transferring two assets (in this case, it was PINK and USDT, the latter to be used as the
feeAssetItem
), whenever USDT is set as an asset0
and thefeeAssetItem = 0
, the call would fail withwasm: unreachable instructions...
.Nevertheless, if you switch the asset order (leaving everything else the same, amounts, etc) and set
feeAssetItem = 1
, it works 🤯 .Steps to reproduce
To replicate, you can run Asset-Hub, Moonbeam and Polkadot with Chopsticks using the following AssetHub configuration file:
The following call fails (Assets(0) = USDT,
feeAssetItem = 0
):The following call succeeds (Assets(1) = USDT,
feeAssetItem = 1
)The text was updated successfully, but these errors were encountered: