If Alice
sends some amount of native relaychain assets to Alice
on a parachain and those assets got trapped in some reason, for example lack of amount to execute a message.
For AssetTrap and ClaimAsset I use the default pallet-xcm pallet from parity:
type AssetTrap = PolkadotXcm;
type AssetClaims = PolkadotXcm;
What exact XCM message should I execute and where(on the relaychain or on the parachain?)to get thise assets back?
I tried to execute message ClaimAsset
+ BuyExecution
+ DepositAsset
but I just catch an UnknownClaim
Error
The ClaimAsset Message looks like
assets: {Concrete: {parents: 1, interior: Here}, fun: Fungable{Fungible: 500_000}}
ticket: {parents: 0, interior: {X1(GeneralIndex(1))}}
Due to pallet code(https://github.com/paritytech/polkadot/blob/37468cac42343dc56e31f83e59da6d8ce12a02a7/xcm/pallet-xcm/src/lib.rs#L1848) maybe I have something wrong with the Origin, but I run the execution from Alice
which is a proper reciever account.