-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow handling fee deductions done by EVM (#307)
* Allow handling fee deductions done by EVM Projects using `pallet_ethereum` need a way to know about fee deducted by EVM to take appropriate action on the fee like giving it to the miner. This adds a type `OnChargeTransaction` to pallet's `Config` trait similar to `OnChargeTransaction` of `pallet_transaction_payment` Signed-off-by: lovesh <[email protected]> * Fix formatting Signed-off-by: lovesh <[email protected]> * Fix trait implementation in test Signed-off-by: lovesh <[email protected]>
- Loading branch information
Showing
5 changed files
with
138 additions
and
19 deletions.
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
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