This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Xtokens seems incompatible with what statemint expects #827
Labels
T6-XCM
This PR/Issue is related to XCM.
Test Scenario: We have an asset created in Statemint, and transferred (reserve transfer asset) to Moonbeam. This transfer works as expected. But when willing to transfer back this asset with Xtokens, Statemint is expecting a GeneralIndex(asset_id) but Xtokens, after inverting its location and reanchoring the asset, sends MultiLocation { parents:1, interior: X2(ParachainId(statemint_para_id), GeneralIndex(asset_id))}. Therefore we obtain a FailedAssetTransact
I have just made a couple of tests on this, would like to investigate further.
The text was updated successfully, but these errors were encountered: