Skip to content
Snippets Groups Projects
Commit b7205d4a authored by Albrecht's avatar Albrecht Committed by GitHub
Browse files

decouple transaction payment and currency (#6912)


* wip: setup types

* fix types

* make tx payment pallet independent from balances

* fix dependent tests

* comments

* restructure a bit and  include more info

* clean up ugly phantom

* reduce complexity

* minor doc improvements

* use shorthand

* doc

* fix line lenght and style

* readd BalanceOf

* some clarifications and readability improvements

* move balance type to OnChargeTransaction

* remove noise

* fix style

* Apply suggestions from code review

improved documentation

Co-authored-by: default avatarAlexander Theißen <alex.theissen@me.com>

* Improve naming and documentation

Apply suggestions from code review

Co-authored-by: default avatarAlexander Theißen <alex.theissen@me.com>

* Apply suggestions from code review

Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>

* always call withdraw_fee

* move NegativeImbalanceOf to payment module

* fix unused import

Co-authored-by: default avatarAlexander Theißen <alex.theissen@me.com>
Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>
parent e1b56f8d
Branches
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment