polkadot-js / apps

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.
https://dotapps.io
Apache License 2.0
1.75k stars 1.55k forks source link

Unable to view Equilibrium accounts balance loaded in the Polkadot.js Extension #9568

Open ltfschoen opened 1 year ago

ltfschoen commented 1 year ago

Current behaviour

If I go to any of the following addresses using an Equilibrium WS endpoint from the selection menu (i.e. via Dwellir or via Equilibrium), even after updating the Metadata to polkadot-js 0.44.1

https://cloudflare-ipfs.com/ipns/dotapps.io/?rpc=wss%3A%2F%2Fnode.pol.equilibrium.io%2F#/accounts https://cloudflare-ipfs.com/ipns/dotapps.io/?rpc=wss%3A%2F%2Fequilibrium-rpc.dwellir.com#/accounts https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fnode.pol.equilibrium.io%2F#/accounts https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fequilibrium-rpc.dwellir.com#/accounts

It displays the following in the top right at the polkadot.js.org/apps urls: Substrate Node v2.0.0 api v10.8.1 apps v0.131.5-26

In the accounts section where I know I have a balance of EQ tokens (verified using Subscan and other wallets) it shows the account balance blurred out.

Screen Shot 2023-06-11 at 8 06 27 am

And when connected to Dwellir instead of the Equilibrium endpoint in all cases it also shows in the UI that the token unit isTOKEN rather than EQ, and when I was updating the metadata it displayed the following, indicating that I was upgrading from 28 to 28:

Screen Shot 2023-06-11 at 8 17 33 am

In the browser console it shows the following error:

Screen Shot 2023-06-11 at 8 31 06 am

Expected behaviour

If I switch to other parachains using Polkadot.js Apps where I've loaded accounts from the extension or imported directly into Polkadot.js Apps, it successfully shows my account balance

Users of the Equilibrium parachain cannot view their account balance using Polkadot.js Apps

Checked with the following latest browser versions:

jacogr commented 1 year ago

It could be due to the latest changes made by the Equibibrium team not making it to a release yet. That should be going out today, so would appreciate a check after that.

As for the Dwellir endpoint, the token details come from the RPC endpoint - so that could mean that is is slightly behind the official Eq release itself. (The UIs only report what they receive from the various endpoint providers.) The reason for the 28 -> 28 is due to the fact that some details don't match, either token name, decimals, etc.