-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
transfer_allow_death - emitting an empty Deposit event #6469
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Comments
By empty you mean the |
Yes, I meant it's zero. Should have been more clear, my bad. I'll prepare a PR to change this then. 🙂 |
Ty! |
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 26, 2024
`FungibleAdapter` will now check if the _refund amount_ is zero before calling deposit & emitting an event. Fixes #6469. --------- Co-authored-by: GitHub Action <action@github.com>
Krayt78
pushed a commit
to Krayt78/polkadot-sdk
that referenced
this issue
Dec 18, 2024
`FungibleAdapter` will now check if the _refund amount_ is zero before calling deposit & emitting an event. Fixes paritytech#6469. --------- Co-authored-by: GitHub Action <action@github.com>
dudo50
pushed a commit
to paraspell-research/polkadot-sdk
that referenced
this issue
Jan 4, 2025
`FungibleAdapter` will now check if the _refund amount_ is zero before calling deposit & emitting an event. Fixes paritytech#6469. --------- Co-authored-by: GitHub Action <action@github.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
In case
transfer_allow_death
does not kill the account, and emptyDeposit
event is emitted.E.g.: https://polkadot.subscan.io/extrinsic/23395862-2
I believe it's because of the lack of is-zero check here:
https://github.com/paritytech/polkadot-sdk/blob/master/substrate/frame/transaction-payment/src/payment.rs#L160
Can someone please confirm this is not intentional?
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: