-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added skipping of invalid transactions during block production (#746)
* Added skipping of invalid transactions during block production with unit tests. * Add one more test to check that skipped transaction didn't change the state. * Make clippy happy * Update fuel-core/src/executor.rs Co-authored-by: Brandon Kite <brandonkite92@gmail.com> * Update fuel-core/src/executor.rs Co-authored-by: Brandon Kite <brandonkite92@gmail.com> * Use `into_iter().filter_map` instead of `while` loop * Make clippy happy * Added test to check the order after skipping * Remove double `tx_index += 1` * Added different name for inner index Co-authored-by: Brandon Kite <brandonkite92@gmail.com>
- Loading branch information
Showing
5 changed files
with
560 additions
and
199 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.