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
Add support for repeated topics in contract logs REST API #3673
Add support for repeated topics in contract logs REST API #3673
Conversation
Signed-off-by: Anton Rusev <anton.rusev.code@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #3673 +/- ##
============================================
- Coverage 92.78% 92.75% -0.03%
- Complexity 2579 2613 +34
============================================
Files 483 491 +8
Lines 14822 14944 +122
Branches 1515 1525 +10
============================================
+ Hits 13752 13862 +110
- Misses 752 762 +10
- Partials 318 320 +2
Continue to review full report at Codecov.
|
Signed-off-by: Anton Rusev <anton.rusev.code@gmail.com>
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.
LGTM
hedera-mirror-rest/__tests__/specs/contracts-logs-15-repeated-topics-with-timestamp.spec.json
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.
Simplification suggestion.
Also need to update openapi.yml
to highlight repetition support. Noting that repetitions within topics are OR
and across remain AND
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.
Looks good, just a few things to change from the other review.
Signed-off-by: Anton Rusev <anton.rusev.code@gmail.com>
Signed-off-by: Anton Rusev <anton.rusev.code@gmail.com>
Signed-off-by: Anton Rusev <anton.rusev.code@gmail.com>
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.
LGTM
{ | ||
key: constants.filterKeys.TOPIC3, | ||
operator: utils.opsMap.eq, | ||
value: '0000150', |
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.
nit: Redundant to say topic3=150 OR topic3=150
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.
LGTM
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.
LGTM
Signed-off-by: Anton Rusev anton.rusev.code@gmail.com
Description:
Related issue(s):
Fixes #3505
Notes for reviewer:
Checklist