-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter plugin: include all transaction in group #5
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5 +/- ##
=========================================
Coverage ? 67.23%
=========================================
Files ? 32
Lines ? 1819
Branches ? 0
=========================================
Hits ? 1223
Misses ? 529
Partials ? 67
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be done with a single iteration through the payset
after simplifying the group txns filtering logic
|
conduit/plugins/processors/filterprocessor/filter_processor_bench_test.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit about the yaml file documentation. Looks good!
#1482
this PR adds a new filter flag
omit-group-transactions
. filter processor would return the matched txn and its grouped txns by default. whenomit-group-transactions
is set to false, only matched txns are returned.Test
new unit tests