Skip to content

Fix pay fees instruction in custom fee asset scenarios #1719

@dudo50

Description

@dudo50

Currently we defaulted to buy execution because pay fees was not depositing full amount of currency being transfered to destination. Fix this by removing refund surplus from these calls because they refund before delivery fees are paid for (if used before deposit instruction). To get the surplus deposited we would anyway have to call deposit instruction and it is not worth it for the planks that will be deposited (The deposit instruction will be more expensive that the refunded amount).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Maintenance workTask falls under maintenance categoryXCM SDKIssue is about XCM SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions