-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix "account_nfts" with unassociated marker returning issue #5045
Conversation
4ae8e25
to
5e05860
Compare
add more test change test name create unit test
808aa73
to
7cfe5b2
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.
Good job! left some comments.
also I'm wondering if this should be part of a new API version instead? @intelliot do you know if such API bug changes should introduce a new version or can we just change directly? (edit: nevermind i don't think it needs it since it's not breaking change)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5045 +/- ##
=========================================
- Coverage 71.3% 71.3% -0.0%
=========================================
Files 796 796
Lines 66987 66978 -9
Branches 10892 10870 -22
=========================================
- Hits 47793 47774 -19
- Misses 19194 19204 +10
|
Right - I see this as a bug fix. However, if we know with certainty that there are API consumers who will be broken by this change, then it would also be ok to put it on api_version 3. But currently, I don't think that is needed. |
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.
Thanks for this pull request. This looks like a good change. I left a number of comments for you to consider. Most of the comments are optional, but I think they are good guidance. However the implementation of the createFakeNFTMarker
lambda really needs to get fixed.
In case it's useful, I piled all of the changes I'm suggesting into the top-most commit here: https://github.com/scottschurr/rippled/commits/yinyiqian1-br_fix_nft_page/ You can look at the commit to see what I intended with my suggestions. You are also welcome to cherry-pick the commit if you decide you want to adopt all of the suggested changes.
I hope that helps. Feel free to ask further questions about any of the comments that I left. And thanks again for the pull request.
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.
👍 Looks great! Thanks for the submission.
* fix "account_nfts" with unassociated marker returning issue * create unit test for fixing nft page invalid marker not returning error add more test change test name create unit test * fix "account_nfts" with unassociated marker returning issue * fix "account_nfts" with unassociated marker returning issue * fix "account_nfts" with unassociated marker returning issue * fix "account_nfts" with unassociated marker returning issue * fix "account_nfts" with unassociated marker returning issue * fix "account_nfts" with unassociated marker returning issue * fix "account_nfts" with unassociated marker returning issue * fix "account_nfts" with unassociated marker returning issue * [FOLD] accumulated review suggestions * move BEAST check out of lambda function --------- Authored-by: Scott Schurr <[email protected]>
Fixes [#1497](#1497) Mimics the behavior of the [fix on Rippled side](XRPLF/rippled#5045)
Fixes [#1497](#1497) Mimics the behavior of the [fix on Rippled side](XRPLF/rippled#5045)
Fixes [#1497](#1497) Mimics the behavior of the [fix on Rippled side](XRPLF/rippled#5045)
fix #4314
High Level Overview of Change
Context of Change
Type of Change
.gitignore
, formatting, dropping support for older tooling)API Impact
libxrpl
change (any change that may affectlibxrpl
or dependents oflibxrpl
)