The Guardian is an innovative open-source platform that streamlines the creation, management, and verification of digital environmental assets. It leverages a customizable Policy Workflow Engine and Web3 technology to ensure transparent and fraud-proof operations, making it a key tool for transforming sustainability practices and carbon markets.
Apache License 2.0
94
stars
120
forks
source link
Incorrect and/or missing token information in Guardian #3786
Guardian shows incorrect information about tokens on the token-user page (see screenshot attached).
This happens because Guardian uses Hedera SDK to query the information about tokens (via AccountInfoQuery) , which recently changed its behaviour and now only returns information only about up to 25 tokens. Moreover in the documentation it is now recommended to use REST API to retrieve such information.
Step to reproduce
On a Guardian instance with more than 25 tokens navigate to the token-user page to observe the missing/incorrect information.
Expected behavior
Guardian should display the correct information, for which the underlying code should query Hedera via REST API.
Problem description
Guardian shows incorrect information about tokens on the token-user page (see screenshot attached).
This happens because Guardian uses Hedera SDK to query the information about tokens (via
AccountInfoQuery
) , which recently changed its behaviour and now only returns information only about up to 25 tokens. Moreover in the documentation it is now recommended to use REST API to retrieve such information.Step to reproduce
On a Guardian instance with more than 25 tokens navigate to the token-user page to observe the missing/incorrect information.
Expected behavior
Guardian should display the correct information, for which the underlying code should query Hedera via REST API.