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
Fee and tip represented as asset ID inside AssetTxFeePaid
#13083
Merged
paritytech-processbot
merged 7 commits into
paritytech:master
from
Szegoo:fee-tip-in-asset
Feb 2, 2023
Merged
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
4190aff
fee & tip in the asset ID Balance type
Szegoo 4a52085
docs
Szegoo b42b225
Merge branch 'paritytech:master' into fee-tip-in-asset
Szegoo 096fede
rewrite
Szegoo 5575288
update runtime config
Szegoo c45d9b2
docs
Szegoo decd574
Merge branch 'paritytech:master' into fee-tip-in-asset
Szegoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 need to look into this a bit more. Not saying it's wrong, but need to look at this whole pallet.
With the DEX pallet, I want this Asset Tx Payment pallet to be more configurable. We want to be able to configure it like,
AssetBalanceOf
), and make the payment in theAssetId
"AssetId
in the Dex, paying the collator inBalanceOf
".Perhaps should log this as a separate issue and do a refactor of this pallet that could have breaking changes to this interface.
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.
Yes this is a separate issue.
Especially this would require a new signed extension, because it works in a quite different way than the current implementation. Currently you pay in an asset and you want to start swapping assets before. I'm not even sure if this needs to be part of
asset-tx-payment
and isn't more its own logic/signed extension in the dex. But yeah, new issue! :D