-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Wrong balance and getGasPrice for custom networks #10177
Comments
Thanks for the report! This is a dupliucate of #10003; I'd suggest following that issue for further updates. |
@Gudahtt Hi this problem persists after merge of issue #10003 you can test with our Hyperledger Besu fork in public mint Here is the rpc: https://rpc.tst.publicmint.io:8545/ |
Thanks @helderjnpinto; I'll re-open this. The original issue reported two problems, the one we fixed was related to gas price. I'm not aware of any recent changes to how balance is queried. Could you share additional details? In particular, it'd be great to know the network settings (Settings -> Networks -> PublicMint-TST), and also the most recent MetaMask version that you've tested with. |
@Gudahtt here is the network settings:
Correct eth_getBalance
|
But this balance is em WEI and not have convertion rate. Also is not hex value, so resuming:
Here is the printscreen of debug in chrome. |
@Gudahtt sorry for this issue i investigated more and maybe is only my fork of besu, https://besu.hyperledger.org/en/1.4.4/Reference/API-Methods/#eth_getbalance in documentation needs to respond a hex value not WEI value. Thanks for reopening this case i will close. |
OK, sounds good. Thanks for following up! |
Describe the bug
Wrong balance in local testnet and also getGasPrice is the not as json rpc.
referent with issue #7263 [https://github.com//issues/7263](issue 7263)
Steps to reproduce (REQUIRED)
Running Besu client with some accounts with balance, connect to local network
Expected behavior
Get right balance
Get right gas price for custom networks by using jsonrpc
Screenshots
Get Balance
Get gasPrice
Browser details (please complete the following information):
The text was updated successfully, but these errors were encountered: