-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(consensus): include filled inputs in evidence (#930)
Description --- fix(consensus): include filled inputs in evidence fix(consensus): only calculate and add leader fee for COMMIT decisions fix(consensus): ensure evidence is deduped and sorted Motivation and Context --- When a transaction contained 0 inputs and outputs (maybe due to ABORT) an invariant error would trigger `BUG Invariant error occurred: Distinct shards is zero for transaction` This PR fixes this by including filled inputs in evidence and not adding the fee for the transaction for ABORT. How Has This Been Tested? --- Manually What process can a PR reviewer use to test or verify this change? --- Submit a transaction with only filled inputs Breaking Changes --- - [x] None - [ ] Requires data directory to be deleted - [ ] Other - Please specify
- Loading branch information
Showing
5 changed files
with
20 additions
and
16 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