Unable to see any balance
Closed this issue · 7 comments
Hi,
Sorry, i am newbie here. Going through substrate tutorial, where i have node template and front end template up and running.
However, i am unable to see any balance for test accounts, all operations are leading to failures.
Refer image below, Can someone guide pls, what could be possible wrong here ?
What version of the node template are you using? I think this is a bug (really just a patch is needed on types) in the latest monthly release
Please use the specified version on https://substrate.dev/docs/en/tutorials/build-a-dapp/front-end which is v3.0.0
before running this version please empty your node cache npm cache clean --force
Are you getting any errors in the browser logs?
Using the right flags to run the node in Dev mode?
--dev
I have exactly the same problem. Also I got an error like this when trying to make a transaction.
And I'm using the same version as mentioned in https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/setup.
I have exactly the same problem. Also I got an error like this when trying to make a transaction.
And I'm using the same version as mentioned in https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/setup.
Solved. (But I don't know why)
For my situation, I run both this frontend and node on my server. I noticed it seems that this frontend does not connect to my own node by default (The configuration file under src/config specifies wss://dev-node.substrate.dev as the default provider). So I changed the configuration to make it connect to my own node. Now it works well. I think this problem is possibly caused by inconsistent version between the node on wss://dev-node.substrate.dev and the frontend.
I think this is only set for running in docker, as we host a version of the node template to demo. Are you doing this?
Cc @jimmychu0807 are you aware of how this demo is hosted & managed?
This is working as long as you empty the node cache , reinstall everything as mentioned in the tutorial