Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

AssetTxFeePaid event should return fee and tip amounts in the asset ID #12987

@IkerAlus

Description

@IkerAlus

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

When an AssetTxFeePaid event of the asset-tx-payment pallet is emitted, the fees and tip are subtracted from the asset ID balance of the sending account. However this event currently returns the tip and actualFee fields in balances of the chain native token. This is confusing for users and external tools, since they assume the values displayed in those fields are given in units of the asset ID.

Steps to reproduce

Example screenshot of a transaction on Statemint paying the fees in the asset ID 1984 but emitting the AssetTxFeePaid event in DOT balances:
Screenshot 2022-12-21 at 09 23 38

Metadata

Metadata

Assignees

No one assigned

    Labels

    J2-unconfirmedIssue might be valid, but it’s not yet known.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions