-
Notifications
You must be signed in to change notification settings - Fork 476
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
API: Experimental full assets for account endpoint. #5948
API: Experimental full assets for account endpoint. #5948
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5948 +/- ##
==========================================
- Coverage 56.18% 55.97% -0.21%
==========================================
Files 482 482
Lines 67989 68287 +298
==========================================
+ Hits 38199 38225 +26
- Misses 27201 27462 +261
- Partials 2589 2600 +11 ☔ View full report in Codecov by Sentry. |
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.
More to look at, but want to get my big comment submitted.
Thank you!! |
4a3c512
to
38201ed
Compare
caef69c
to
bbbd3c6
Compare
…t includes always grabbing corresponding asset parameters, supporting pagination via the next / limit parameters, and enforcing max batch caps.
… any existing asset ids for the account.
…query one item extra each time to see if we have actually tokenized through all results before returning. Handler now deals with asset params being optional (in the case of a deleted asset).
…against asset creator information iff it is available. Updated result parsing logic to handle this data conditionally being present. Added new functional test exercising the limit query itself, including several failure modes. Lastly, tweak handler to check if creator address is set to its zero value in determining whether to return result with asset params set.
…ata blob matches as both an asset and app.
…aging a left join with assetcreators to populate much of the ctypes on updated resources table.
…aving to create another table and full copy.
…tchpoint and setting the db version properly (to ensure columns present during prepared statement init).
eb6864a
to
963027d
Compare
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.
Everything looks good, except I'd like to see more robust checking of the goal command. I left a suggestion which adds this. Willing to approve once that's in.
Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>
Summary
Support includes always grabbing corresponding asset parameters, supporting pagination via the next / limit parameters, and enforcing max batch caps. Support for this endpoint has also been added to goal, keeping in mind this is experimental for this initial release.
Closes #5250
Test Plan
Initial smoke tests against a caught up testnet node showed the pagination and limit queries working well. Added functional tests for the handler and query layers respectively.