Skip to content
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

Implemented the logic to support Nonce Filter on /api/v1/transactions/{hash} #9842

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

HarshSawarkar
Copy link
Contributor

Description:

Added the logic to filter based out of nonce.

Related issue(s):

Fixes #9715

Notes for reviewer:

Check for if(isTransactionHash) in extractSqlFromTransactionsByIdOrHashRequest in transactions.js

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@HarshSawarkar HarshSawarkar requested a review from a team as a code owner November 28, 2024 07:46
@steven-sheehy steven-sheehy added enhancement Type: New feature rest Area: REST API labels Dec 3, 2024
@steven-sheehy steven-sheehy added this to the 0.120.0 milestone Dec 3, 2024
…into chore-Nonce-Filter-Is-Ignored-on-API-call-with-transactionHash
hedera-mirror-rest/transactions.js Outdated Show resolved Hide resolved
hedera-mirror-rest/transactions.js Show resolved Hide resolved
@steven-sheehy steven-sheehy removed this from the 0.120.0 milestone Dec 9, 2024
…into chore-Nonce-Filter-Is-Ignored-on-API-call-with-transactionHash
Signed-off-by: Harsh Sawarkar <[email protected]>
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.25%. Comparing base (5fd36f4) to head (e18d9cc).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9842      +/-   ##
============================================
- Coverage     92.25%   92.25%   -0.01%     
  Complexity     7821     7821              
============================================
  Files           953      953              
  Lines         32731    32731              
  Branches       4146     4146              
============================================
- Hits          30197    30196       -1     
  Misses         1559     1559              
- Partials        975      976       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@jnels124 jnels124 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature rest Area: REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nonce Filter Is Ignored on /api/v1/transactions/{hash}
3 participants