Skip to content
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

estimateGas returns error about balance, when the accounts is empty #951

Closed
frozeman opened this issue May 13, 2015 · 1 comment
Closed
Labels

Comments

@frozeman
Copy link
Contributor

My coinbase address was empty at the time: 0x922a519ac926f69856fcfc1b2b8b846cfb3f6b4e

> web3.eth.estimateGas({from: web3.eth.coinbase, to: '0xdfadbef33b3ddb4631583fe41f69704dccb1f4e0', value: web3.toWei(1000000,'finney')})
web3.js:1791 Uncaught Error: insufficient ETH for gas (922a519a). Req 900000000000000000, has 0`
@frozeman frozeman added the RPC label May 13, 2015
@frozeman
Copy link
Contributor Author

in 0.9.20 it seems to be completely broken (returning 0)
in 0.9.20 it appears to be returning an error when i'm faking a transaction from an account without funds

web3.eth.estimateGas({from: web3.eth.coinbase, to: '0xdfadbef33b3ddb4631583fe41f69704dccb1f4e0', value: web3.toWei(1000000,'finney')})
0

Sending:

{"jsonrpc":"2.0","method":"eth_estimateGas","params":[{"from":"0x922a519ac926f69856fcfc1b2b8b846cfb3f6b4e","to":"0xdfadbef33b3ddb4631583fe41f69704dccb1f4e0","value":"0x3635c9adc5dea00000"}],"id":448}

tony-ricciardi pushed a commit to tony-ricciardi/go-ethereum that referenced this issue Jan 20, 2022
…sets than a 100 (ethereum#951)

* bls-zexe: removes old version

* Squashed 'crypto/bls/bls-zexe/' content from commit b507c9d2c

git-subtree-dir: crypto/bls/bls-zexe
git-subtree-split: b507c9d2c72911d0164fb4406253368bd7727462

* brings back original rlpdump

* changes bls paths

* remove uneeded import rename

Co-authored-by: Victor Graf <victor@celo.org>
maoueh pushed a commit to streamingfast/go-ethereum that referenced this issue Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants