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

Return long term scheduled transaction in get transactions by id REST API (0.120) #10033

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

xin-hedera
Copy link
Collaborator

Description:

This PR cherry-picks the fix to release/0.120

  • Query again with max scheduled transaction timestamp range if the result may miss such transactions
  • Fix passing incorrect value to getTransactionsByIdOrHashCacheControlHeader
  • Fix getTransactionsByIdOrHashCacheControlHeader unit tests

Related issue(s):

Fixes #10027

Notes for reviewer:

Checklist

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

… API (#10028)

- Query again with max scheduled transaction timestamp range if the result may miss such transactions
- Fix passing incorrect value to getTransactionsByIdOrHashCacheControlHeader
- Fix getTransactionsByIdOrHashCacheControlHeader unit tests

Signed-off-by: Xin Li <[email protected]>
@xin-hedera xin-hedera added bug Type: Something isn't working rest Area: REST API labels Jan 2, 2025
@xin-hedera xin-hedera added this to the 0.120.1 milestone Jan 2, 2025
@xin-hedera xin-hedera self-assigned this Jan 2, 2025
@xin-hedera xin-hedera requested a review from a team as a code owner January 2, 2025 21:11
Copy link

sonarqubecloud bot commented Jan 2, 2025

Copy link

codecov bot commented Jan 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.25%. Comparing base (2202147) to head (6a5b011).
Report is 1 commits behind head on release/0.120.

Additional details and impacted files
@@               Coverage Diff                @@
##             release/0.120   #10033   +/-   ##
================================================
  Coverage            92.25%   92.25%           
  Complexity            7821     7821           
================================================
  Files                  953      953           
  Lines                32731    32749   +18     
  Branches              4146     4151    +5     
================================================
+ Hits                 30197    30214   +17     
  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

@xin-hedera xin-hedera merged commit b45c3f8 into release/0.120 Jan 2, 2025
35 of 36 checks passed
@xin-hedera xin-hedera deleted the 10027-120 branch January 2, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working rest Area: REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants