This repository was 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
Pay tx fee with assets by using the asset conversion pallet #14340
Merged
Merged
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
328bbae
Pay tx by swapping the assets
146b611
Change liquidity structure
55255be
Uncomment the event
dd329fb
Update frame/transaction-payment/asset-tx-payment/src/payment.rs
jsidorenko 589ccbc
New approach
b215921
Fix bounds
874e529
Clearer version
d4c2cdb
Change IsType with Into and From
7ceb4aa
Enable event
0d3de23
Check ED + fix the logic
e6e4060
Add temp comments
74b36fd
Rework the refund
4b699a9
Clean up
7d08ec4
Improve readability
8ef5339
Getting closer
2b08707
fix
4b1748a
Use fungible instead of Currency
3172f2c
Test account without ed
bf807fc
Final push
5a7aab2
Fixed
fd053d4
Rename to pallet-asset-conversion-tx-payment
5dab05d
Bring back the old pallet
b0cb6b5
Update versions
6a87a43
Merge branch 'master' into js/pay-by-swap
10e055a
Update docs
4904e0a
Update readme
0e51723
Wrong readme updated
9c94063
Revert back doc change
3b0d011
Fix import
fce87bf
Fix kitchensink
daa0e25
Fix
19490ae
One more time..
ff0fd49
Wait pls
f6ef059
Update frame/asset-conversion/src/lib.rs
jsidorenko d23631c
Merge branch 'master' into js/pay-by-swap
gilescope 303c900
Update frame/support/src/traits/tokens/fungibles/regular.rs
jsidorenko bf7663e
Update docs/comments
f427ef1
Docs improvement
c9f7910
Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
jsidorenko 6fb01e3
Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
jsidorenko 59afde3
Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
jsidorenko d054f45
Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
jsidorenko 22fce9e
Update frame/transaction-payment/asset-conversion-tx-payment/src/lib.rs
jsidorenko 4463c9b
Payed -> paid
b26fdf4
Docs
1544c6a
Update frame/transaction-payment/asset-conversion-tx-payment/README.md
jsidorenko 314b326
Rewrite docs
e1ead96
Try to clean the deps
74c62f0
Add debug assert
27b7b24
Return back frame-benchmarking
439eeb2
Update cargo
bf76045
Update frame/transaction-payment/asset-conversion-tx-payment/src/mock.rs
jsidorenko 12abebf
Rename
ee288b3
clearer error message
gilescope 1c3c1e0
Docs for Pay by Swap (#14445)
joepetrowski 1fab01c
Fix compile errors
f39b02c
Another fix
ffb3cfe
Refactoring
7e763a0
Update frame/transaction-payment/asset-conversion-tx-payment/src/paym…
jsidorenko 6beecc3
Emit an error if we fail to swap the refund back
25b201b
Add integrity_test
a211058
Update frame/asset-conversion/src/lib.rs
jsidorenko f7abdbc
Fmt
63588af
Use defensive_ok_or
f191fdf
Merge branch 'master' into js/pay-by-swap
gilescope 0df5d89
child PR: Tidy swap event (#14441)
gilescope 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.