refactor: Transaction-Payment module (#3816)

* Initial draft that compiles

* Extract payment stuff from balances

* Extract multiplier update stuff from system

* Some fixes.

* Update len-fee as well

* some review comments.

* Remove todo

* bump
This commit is contained in:
Kian Paimani authored and GitHub committed 2019-10-17 14:21:32 +02:00
1 parent 1711483fb6
commit 183c188111
59 files changed
+784 -596

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ pub fn signed_extra(nonce: Index, extra_fee: Balance) -> SignedExtra {
system::CheckEra::from(Era::mortal(256, 0)),
system::CheckNonce::from(nonce),
system::CheckWeight::new(),
balances::TakeFees::from(extra_fee),
transaction_payment::ChargeTransactionPayment::from(extra_fee),
Default::default(),
)
}