This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add TransactionPayment
event to Pallet Tranascation Payment
#11595
Comments
shawntabrizi
added
Z6-mentor
An easy task where a mentor is available. Please indicate in the issue who the mentor could be.
Z1-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder
labels
Jun 5, 2022
Hi @shawntabrizi , I‘m attempting this issue. |
@hzy1919 great! |
would it still be okay if i tried my hand at it? @shawntabrizi |
@Doordashcon I think someone else is already doing it, so lets wait until then. |
Let's also use this issue to add an event to pallet assets tx payment. @hzy1919 are you interested to do that too? |
@shawntabrizi Yeah, I would like to continue that . |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There have been many issues from various people, all asking how to get the transaction fee of a Substrate transaction.
Currently, the only events that are emitted are those from the Balances pallet, which are not specific enough to determine the actual transaction fee in all cases.
We should add a simple event to the Transaction Payment Pallet which emits exactly the final transaction fee, tip, and user to clarify all of this.
Something like:
The text was updated successfully, but these errors were encountered: