openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.82k stars 1.69k forks source link

Error: Returned error: Transaction cost exceeds current gas limit. Limit: 5000, got: 1600000. Try decreasing supplied gas #11756

Closed justintim-es closed 4 years ago

justintim-es commented 4 years ago
        web3.eth.sendTransaction({
            value: 14117982602080,
            from: '0x711E94d7bea1a35D319183AD244B534100Bef8f5',
            to: '0x12AdF37d82D978fD72bfcC95Ca09C0D91Bb4F4d3',
        }).then(console.log)

gives me the following error:

Error: Returned error: Transaction cost exceeds current gas limit. Limit: 5000, got: 1600000. Try decreasing supplied gas

version

openethereum-linux-v3.0.1

web3 version

"web3": "^1.2.8"

system ubuntu

palkeo commented 4 years ago

I'm not 100% sure, but I think this means that the block gas limit is 5000, so your transaction is too big to fit in any single block. Are you on mainnet?

justintim-es commented 4 years ago

yes

palkeo commented 4 years ago

Is your node fully synced? What block is it at?

justintim-es commented 4 years ago

10185104

justintim-es commented 4 years ago

It propably gave me the error because i got hacked

justintim-es commented 4 years ago

Can someone tell me if it is working before i send another 50 worth of ether, the minimum gas for a transaction is 21000

palkeo commented 4 years ago

I think if you want assistance you will need to follow the issue template, include all the information that's required and describe your problem in more details.

justintim-es commented 4 years ago

Where can i find this template and geth is unable to unlock any accounts