hashgraph / hedera-mirror-node

Hedera Mirror Node archives data from consensus nodes and serves it via an API
Apache License 2.0
128 stars 108 forks source link

Optimize `/contracts/results` and `/contracts/results/logs` in v2 (0.113) #9377

Closed xin-hedera closed 2 weeks ago

xin-hedera commented 2 weeks ago

Description:

This PR backports the changes to release/0.113

Related issue(s):

Related to #9244

Notes for reviewer:

Also cherry-picked the changes to fix 404 when block not found

Checklist

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.53%. Comparing base (4221fa8) to head (75dc19e). Report is 1 commits behind head on release/0.113.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/0.113 #9377 +/- ## =================================================== + Coverage 92.52% 92.53% +0.01% Complexity 7012 7012 =================================================== Files 903 904 +1 Lines 29638 29660 +22 Branches 3738 3750 +12 =================================================== + Hits 27422 27447 +25 + Misses 1447 1444 -3 Partials 769 769 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.