Open tequdev opened 1 week ago
Attention: Patch coverage is 89.47368%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 71.4%. Comparing base (
9fec615
) to head (47106cc
).:exclamation: Current head 47106cc differs from pull request most recent head e9dd06c
Please upload reports for the commit e9dd06c to get more accurate results.
In other PR, I suggested adding a check so that NFTokenModify would fail if there is any outstanding offers. This is to prevent the issuer from changing the URI and then accept an existing offer.
In other PR, I suggested adding a check so that NFTokenModify would fail if there is any outstanding offers. This is to prevent the issuer from changing the URI and then accept an existing offer.
As mentioned in this comment, wouldn't that make sense since the issuer can change the URI after the user has bought it? Users need to be aware of the risk to mutable NFTs, just as they need to be aware of the possibility of being burned by the issuer after purchasing a Burnable NFT.
https://github.com/XRPLF/rippled/pull/4838#issuecomment-1994709096
Correct, if you own a dynamic NFT then you agree that it can be changed by the issuer. I wouldn't personally put a check on offers, because this might cut into some use cases people come up with.
BTW, the "Context of change" section linked to the XLS20 proposal, I think you meant to link to this one https://github.com/XRPLF/XRPL-Standards/discussions/130
BTW, the "Context of change" section linked to the XLS20 proposal, I think you meant to link to this one XRPLF/XRPL-Standards#130
good catch, fixed!
@scottschurr Thanks for the review. I fully agree with your suggestions and have cherry-picked all three commits.
Replace from https://github.com/XRPLF/rippled/pull/4838 Co-Author: @xVet
High Level Overview of Change
Spec: XLS-46d: Dynamic Non Fungible Tokens (dNFTs)
This Amendment adds functionality to update the URI of NFToken objects by adding:
NFTokenModify:
Transactor to initiate the altering of the URIlsfMutable
: Flag to be set in a NFTokenMint transaction to allow NFTokenModify to execute successfully on given NFT.Context of Change
https://github.com/XRPLF/XRPL-Standards/discussions/130
Type of Change
API Impact
libxrpl
change (any change that may affectlibxrpl
or dependents oflibxrpl
)