Closed mh-concordium closed 9 months ago
The issue is not completed fixed in Stagenet, observed couple of issues -
https://stagenet.ccdscan.io/accounts?dcount=1&dentity=account&daddress=4sH15AxjthA9DYhCux3aVUtPMemD1oJCL4WFiUXcJKqAeeQ9oc
1) Decimal points are still missing from the balance values and
2) Amount is right aligned but header text "Balance" is not aligned above the values, heading should be right above the values. Refer screenshot below -
@SRConcordium The decimals that need to be shown on the UI are fetched from the Tokens Metadata URL. If the Metadata URL is not valid then the decimals cannot be shown. Which is the case here since the metadata url is https://some.example/token/FF16A0F62F17E96C274DB1343EE6A236756D87AB8A88C7989A1CBE90D030A3F4
@parv0888 I agree that this is the correct fallback. The issue with the balance
location is a valid one, so that should be fixed.
Decimal representation for the tokens are shown OK as verified in Testnet CCDScan for account address, 45Dp7jhi7kmQbapb7LHnDju1y4R3u4YXYusPBcw8cmZw7MgTeU with contract indexes - 3501, 3497 and 3504 (refer attached screenshot). The header misalignment issue is still need fixing.
@parv0888 I agree that this is the correct fallback. The issue with the
balance
location is a valid one, so that should be fixed.
Raised PR for the comment https://github.com/Concordium/concordium-scan/pull/79
Verified in Testnet, the header text is right aligned now -
Verified mainnet
Looking at the tokens of an account, balance amounts are not show with decimal points and numbers are not aligned to the right.
Follow the link below:
https://testnet.ccdscan.io/?dcount=1&dentity=account&daddress=36Z8i8wkGbA2tKmrRgXrofvbTbV68KCfJD1nAVSMYJJBKPo7mw