-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add Event to Pallet Asset-Tx-Payment #11690
Add Event to Pallet Asset-Tx-Payment #11690
Conversation
// asset_id for the transaction payment | ||
Option<ChargeAssetIdOf<T>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am very confused why this PR is introducing this.
It makes sense, but it should have existed already. There is no way that adding an event should require adding more data into a signed extension
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I add this inorder to get 'asset_id' ,otherwise need to add parameter 'self' into the interface 'post_dispatch' in my humble opinion. Maybe there is a other better solution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi , @shawntabrizi What do you think about this now? Would you like to share your solution ? 😃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shawntabrizi that is not adding any new data to the signed extension. The only thing this is doing is that it adds a new return value to pre_dispatch
that is then passed to post_dispatch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, @bkchr you explain it more clearly . 👍
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions. |
// asset_id for the transaction payment | ||
Option<ChargeAssetIdOf<T>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shawntabrizi that is not adding any new data to the signed extension. The only thing this is doing is that it adds a new return value to pre_dispatch
that is then passed to post_dispatch
@hzy1919 can you please merge master? |
@bkchr I have merged master of Substrate and cumulus . I think the CI need to be manually activated again. |
bot rebase |
…-Asset-Tx-Payment
Rebased |
bot merge |
Waiting for commit status. |
Merge cancelled due to error. Error: Statuses failed for e438503 |
@hzy1919 can you please add a cumulus companion? |
bot merge |
Waiting for commit status. |
Merge cancelled due to error. Error: Statuses failed for e438503 |
Error: Response error (status 404 Not Found):
|
bot merge |
@hzy1919 you can add a polkadot address for a tip |
@shawntabrizi Thanks . I have added my polkadot address in the PR description. BTW, there is another tip mentioned here ,and it hasn't been executed , I don't know if it's still available or not . 😄 |
@hzy1919 everything should be tipped now. feel free to remind me whenever if stuff like that happens. sorry! |
/tip small |
@shawntabrizi A small tip was successfully submitted for hzy1919 (15wPGN5vysDW1HYWfZRjQQhv2ktpfLMMuiJNMRKcodwPfM14 on polkadot). https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.polkadot.io#/treasury/tips |
@shawntabrizi OK , It dosen't matter. :D |
* Add Event to Pallet Asset-Tx-Payment * add asset_id into the Event Co-authored-by: parity-processbot <>
* Add Event to Pallet Asset-Tx-Payment * add asset_id into the Event Co-authored-by: parity-processbot <>
Follow up to #11618
Fixes #11683
Fixes #11595
cumulus companion: paritytech/cumulus#1377
polkadot address: 15wPGN5vysDW1HYWfZRjQQhv2ktpfLMMuiJNMRKcodwPfM14