hicetnunc2000 / hicetnunc

hicetnunc UI/UX
http://hicetnunc.xyz
800 stars 281 forks source link

Creations fail to load for account due to missing data via Conseil #634

Closed skenaja closed 3 years ago

skenaja commented 3 years ago

Describe the bug https://www.hicetnunc.xyz/tz/tz1fhd4k1jSJRRcNVbkMwVzkKEhX3kzApsfk doesn't load

To Reproduce Access above URL

Expected behavior Creations/collection loads accordingly.

Additional context API returns 500 error. The underlying issue is that conseil JS getObjkt query for 48439 incorrectly returns an empty response:

ConseilDataClient.executeEntityQuery request: https://conseil-prod.cryptonomic-infra.tech/v2/data/tezos/mainnet/big_map_contents, {"fields":["key","value","block_level"],"predicates":[{"field":"big_map_id","operation":"eq","set":[514],"inverse":false},{"field":"key","operation":"eq","set":[48439],"inverse":false},{"field":"block_level","operation":"gt","set":[1434792],"inverse":false}],"orderBy":[{"field":"block_level","direction":"desc"}],"aggregation":[],"limit":1}

There is data matching this query returned by other indexers: https://staging.api.tzkt.io/v1/bigmaps/514/keys?value.token_id=48439

[{"id":724962,"active":true,"hash":"expruAksi4yWyEcbR5aoNyLkcT462HBiCwJsxesZjPdMGN4NUjAPpm","key":"48439","value":{"token_id":"48439","token_info":{"":"697066733a2f2f516d586a714a4679314c44344c70786f485a58626a436f51674a787661376a485250687872526232426e3167666a"}},"firstLevel":1444448,"lastLevel":1444448,"updates":1}]

Issue raised with the Crytonomic team that support Conseil.

skenaja commented 3 years ago

This is now working. Closing.