-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev network has 0 balance for all accounts (s390x architecture) #235
Comments
This is likely due to a type mapping issue. you can do a sanity check. Go into the Settings > Developer and clear any custom types. Still not working? Please let me know |
I did not have any custom types set in the Developer settings. |
I have built and am running the
Under the JS tab examples the
Can you verify that you are indeed connecting to the right node and using the same (or otherwise what) versions? |
The
This node was built on s390x architecture. That should be the only difference. |
@mrihn show a screenshot of what you are looking at |
Notice you are also on the 9100 runtime (top left). I suspect that this is a type issue that isn't covered in the version of the apps / api that you have. You could try the binary in the release , build from that commit, or I can try and track down the custom type mapping for you if it's critical that you use the present version. |
Thank you. That would be helpful if you find the custom type mapping for us. It is important that we use this version for our purposes. |
The issue seems to be related to the s390x architecture that I am using. When I replicate the scenario on x86, I also see the 10,000 unit account balances, but on s390x I see this: Everything seems to be functional, aside from the accounts having a 0 balance. Is there any way to manually specify a non-zero account balance when the accounts are not automatically funded the 10,000 units? |
I don't see how they could be based on the target architecture. Can you verify that balances are indeed 0 or if this is just a UI issue?
|
I tried the This response seems to indicate that the UI doesn't even recognize that the node is up (and also can't print the date for some reason). |
Was there any resolution for this @mrihn ? I am closing here as the issue is stale, please let me know if you did solve this 🙏 |
Hello, this issue has not been resolved for s390x architecture. Recently, we built and tested https://github.com/substrate-developer-hub/substrate-node-template/ and ran into same issue. NOTE: Since s390x is a Big Endian architecture, we ran into an issue when polkadot pulled in Merlin as a dependency. For now, we went ahead by commenting the code https://github.com/dalek-cryptography/merlin/blob/master/src/lib.rs#L9 /* Is this the reason why the balance is coming as zero ? |
I started a local testnet with the following command:
polkadot --alice -d /tmp/alice --ws-external --rpc-external --rpc-cors all --dev
The node came up and is running without errors. I am able to connect to it with the browser UI, but all of the accounts (ALICE, ALICE_STASH, BOB, etc.) have a balance of 0.
The same thing happened when I brought up a "Local Two-node Testnet" as described in the README.
Is there a separate command (or command line option) to start the accounts with a certain amount of funds?
I am running with Polkadot version 0.9.9
The text was updated successfully, but these errors were encountered: