-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sequencer)!: fix block fees (#1343)
## Summary Corrected block fee reporting so that proposer is paid the correct fees. ## Background Previously, only `TransferAction` and `SequenceAction` called `get_and_increase_block_fees()`, the method for increasing the running fees for the block. In `end_block`, this was used for calculating how much to increase the proposer's balance meaning that they were only paid the fees for `Transfer` and `Sequence` actions. ## Changes - Implemented `get_and_increase_block_fees()` in all actions which charge fees. ## Testing Added unit tests for each action, with the exception of `Ics20Withdrawal`. This test should be implemented, but will require a more in-depth configuration. ## Breaking Changelist - App hash changed, snapshot has been regenerated. ## Related Issues closes #1333 --------- Co-authored-by: Richard Janis Goldschmidt <[email protected]> Co-authored-by: Fraser Hutchison <[email protected]> Co-authored-by: noot <[email protected]>
- Loading branch information
1 parent
1f4a359
commit 781c4c5
Showing
9 changed files
with
403 additions
and
89 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
Oops, something went wrong.