rippled icon indicating copy to clipboard operation
rippled copied to clipboard

fix "account_nfts" with unassociated marker returning issue

Open yinyiqian1 opened this issue 1 year ago • 2 comments

fix #4314

High Level Overview of Change

Context of Change

Type of Change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Refactor (non-breaking change that only restructures code)
  • [ ] Performance (increase or change in throughput and/or latency)
  • [ ] Tests (you added tests for code that already exists, or your new feature included in this PR)
  • [ ] Documentation update
  • [ ] Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • [ ] Release

API Impact

  • [ ] Public API: New feature (new methods and/or new fields)
  • [ ] Public API: Breaking change (in general, breaking changes should only impact the next api_version)
  • [ ] libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
  • [ ] Peer protocol change (must be backward compatible or bump the peer protocol version)

yinyiqian1 avatar Jun 12 '24 19:06 yinyiqian1

Codecov Report

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

Project coverage is 71.3%. Comparing base (ef02893) to head (7cfe5b2).

:exclamation: Current head 7cfe5b2 differs from pull request most recent head bf284e7

Please upload reports for the commit bf284e7 to get more accurate results.

Additional details and impacted files

Impacted file tree graph

@@            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     
Files Coverage Δ
src/ripple/rpc/handlers/AccountObjects.cpp 92.9% <100.0%> (ø)

... and 1591 files with indirect coverage changes

Impacted file tree graph

codecov[bot] avatar Jun 20 '24 15:06 codecov[bot]

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)

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.

intelliot avatar Jun 20 '24 23:06 intelliot