You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
IIRC we specifically did not want to allow MultiAsset::All to be used in the fees field in BuyExecution, the justification here being that it is a potential hazard for XCM executors to use up all the transferred assets for fee payment. Thus, starting from V1, we need to always specify the exact amount of assets that we are willing to set aside just for fees, so that we limit the amount of spending that can arise from XCM execution.
polkadot/xcm/src/v1/order.rs
Line 149 in aeea9b7
This is
v1::MultiAsset
which is no compatible withv0::MultiAsset
.On Karura 1011 (The current live runtime), we are using
v0::MultiAsset::All
and it failed to be decoded on Kusama 9100.https://github.com/open-web3-stack/open-runtime-module-library/blob/4bd9eed87814e74aa94720f38af0b7328aed2771/xtokens/src/lib.rs#L217
The text was updated successfully, but these errors were encountered: