Nexusoft / LLL-TAO

LLL: Lower Level Library - TAO: Tritium, Amine, and Obsidian as a high performance application framework
MIT License
60 stars 28 forks source link

Assets API list & get/raw & readonly the "name" object is not returned. #118

Closed Aeonwise closed 1 year ago

Aeonwise commented 1 year ago

With the latest merging branch the 'name' object for raw & readonly assets is not returned, it was working with the previous build.

This is the output of assets/list/raw: { "result": [ { "status": "ACTIVE", "owner": "b7fa11647c02a3a65a72970d8e703d8804eb127c7e7c41d565c3514a4d3fdf13", "version": 1, "created": 1672610603, "modified": 1676026562, "type": "RAW", "form": "ASSET", "data": "This is a raw asset with name which has been updated from the demo for testing", "address": "86Wn3qkkMS3LuFhRaUDx1QK8EF9NcwhrmXfBj99S3DTTkxhTVNS" }, { "status": "ACTIVE", "owner": "b7fa11647c02a3a65a72970d8e703d8804eb127c7e7c41d565c3514a4d3fdf13", "version": 1, "created": 1672609916, "modified": 1672609916, "type": "RAW", "form": "ASSET", "data": "This is raw test data", "address": "85xkfRM7dkRNVhgSQjmNuqEAa1ALinpGDccRoCyUhYtKGX1CFzm" } ], "info": { "method": "assets/list", "status": "active", "address": "117.192.180.201:12002", "latency": "1.108375 ms" } }

This is the output of assets/get/raw: { "result": { "status": "ACTIVE", "owner": "b7fa11647c02a3a65a72970d8e703d8804eb127c7e7c41d565c3514a4d3fdf13", "version": 1, "created": 1672610603, "modified": 1676026562, "type": "RAW", "form": "ASSET", "data": "This is a raw asset with name which has been updated from the demo for testing", "address": "86Wn3qkkMS3LuFhRaUDx1QK8EF9NcwhrmXfBj99S3DTTkxhTVNS" }, "info": { "method": "assets/get", "status": "active", "address": "117.192.180.201:23296", "latency": "0.159290 ms" } }

VidereLicet commented 1 year ago

I've just tested this and get name records for both RAW and READONLY assets, have you made sure you are using a clean build and are on the newest codebase? Also, if you are testing on testnet, please privnote me the credentials you use and post that username when reporting bugs like this, otherwise it's hard to tell if it was a bug, user mistake, or configuration issue. This will make the debugging process go much smoother.

VidereLicet commented 1 year ago

Closing this for inactivity, if you still encounter an issue for newest core please submit another issue.