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

nft_info returns nft if the nft gets minted and burned in the same ledger #1554

Open
cindyyan317 opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working on hold For issues that currently wait on other issues
Milestone

Comments

@cindyyan317
Copy link
Collaborator

cindyyan317 commented Jul 24, 2024

Issue Description

This is an corner case, when a nft gets minted and burned in the same ledger, nft_info returns data successful.
It is a rare case. It is unlikely to happen in reality. Label it as on hold.

Steps to Reproduce

1 Start standalone rippled and start Clio connecting to the rippled.
2 Fund an account
3 Submit NFTokenMint to mint a nft
4 Run account_nfts to get the token id
5 Submit NFTTokenBurn
6 Run ledger_accept
7 Check nft_info result for this token.

Expected Result

This nft should be considered as non existent. nft_info should return nothing or error, like account_nfts .

Actual Result

Returned the nft info.

Environment

standalone rippled
Clio 2.2.2

@cindyyan317 cindyyan317 added bug Something isn't working on hold For issues that currently wait on other issues labels Jul 24, 2024
@godexsoft godexsoft added this to the Future milestone Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working on hold For issues that currently wait on other issues
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants