Skip to content
Unverified Commit 5354097a authored by Adrian Catangiu's avatar Adrian Catangiu Committed by GitHub
Browse files

xcm-executor: DepositReserveAsset charges delivery fees from inner assets (#3142)



This fix aims to solve an issue in Kusama that resulted in failed
reserve asset transfers.

During multi-hop XCMs, like reserve asset transfers where the reserve is
not the sender nor the destination, but a third remote chain, the origin
is not available to pay for delivery fees out of their account directly,
so delivery fees should be paid out of transferred assets.

This commit also adds an xcm-emulator regression test that validates
this scenario is now working.

Signed-off-by: default avatarAdrian Catangiu <[email protected]>
Co-authored-by: default avatarFrancisco Aguirre <[email protected]>
parent e757f811
Pipeline #440000 passed with stages
in 41 minutes and 45 seconds