We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
it seems like algod removes empty values and indxer doesn't.
https://indexer-mainnet/v2/assets/278022289
{ "asset":{ "created-at-round": 15042440, "deleted": false, "index": 278022289, "params":{ "clawback": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ", "creator": "JADXUXWQ5CWU2G2TTBMY7NCWGDHO3SLY7IPYVC37GTFARAZ2N5LBLWAP5A", "decimals": 0, "default-frozen": false, "freeze": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ", "manager": "JADXUXWQ5CWU2G2TTBMY7NCWGDHO3SLY7IPYVC37GTFARAZ2N5LBLWAP5A", "metadata-hash": "RUFEREU0NTVBOUNBQjBGRUU2NzBEREI2MDNBQjUyNDg=", "name": "Mask #7", "reserve": "JADXUXWQ5CWU2G2TTBMY7NCWGDHO3SLY7IPYVC37GTFARAZ2N5LBLWAP5A", "total": 17, "unit-name": "MTMASK7", "url": "https://bit.ly/3xLUSV0" } }, "current-round": 15252300 }
VS
https://node-mainnet/v2/assets/278022289
{ "index": 278022289, "params":{ "creator": "JADXUXWQ5CWU2G2TTBMY7NCWGDHO3SLY7IPYVC37GTFARAZ2N5LBLWAP5A", "decimals": 0, "default-frozen": false, "manager": "JADXUXWQ5CWU2G2TTBMY7NCWGDHO3SLY7IPYVC37GTFARAZ2N5LBLWAP5A", "metadata-hash": "RUFEREU0NTVBOUNBQjBGRUU2NzBEREI2MDNBQjUyNDg=", "name": "Mask #7", "reserve": "JADXUXWQ5CWU2G2TTBMY7NCWGDHO3SLY7IPYVC37GTFARAZ2N5LBLWAP5A", "total": 17, "unit-name": "MTMASK7", "url": "https://bit.ly/3xLUSV0" } }
I'd expect indexer to return empty values just when they have a meaning.
Indexer returns the 0 byte address here when the user probably didn't set it at all.
The following params (clawback, freeze, reserve) should not be returned if empty. These params are currently optional.
The text was updated successfully, but these errors were encountered:
Duplicate of #939
Sorry, something went wrong.
No branches or pull requests
Subject of the issue
it seems like algod removes empty values and indxer doesn't.
Steps to reproduce
https://indexer-mainnet/v2/assets/278022289
VS
https://node-mainnet/v2/assets/278022289
Expected behaviour
I'd expect indexer to return empty values just when they have a meaning.
Actual behaviour
Indexer returns the 0 byte address here when the user probably didn't set it at all.
Acceptance criteria:
The following params (clawback, freeze, reserve) should not be returned if empty.
These params are currently optional.
The text was updated successfully, but these errors were encountered: