TransWikia.com

"exceeds block gas limit" on partially synced geth

Ethereum Asked on December 6, 2020

I am trying to send eth when my geth node is not fully synced (it’s very, very slow)

{
  currentBlock: 10683052,
  highestBlock: 10780597,
  knownStates: 57935524,
  pulledStates: 57929853,
  startingBlock: 10666347
}

If I

GP=eth.gasPrice
GAS=50000
TX={ from: FROM, to: TO, value: VALUE, nonce: NONCE, gas: GAS , gasPrice: GP}
tx_signed=eth.signTransaction(TX)

that succeeds

eth.sendRawTransaction(tx_signed.raw)

I get

Error: exceeds block gas limit
        at web3.js:6347:37(47)
        at web3.js:5081:62(37)
        at <eval>:1:23(5)

I tried sending the raw transaction on https://etherscan.io/pushTx but that also failed.

Ideally, I want to solve this at my geth node. How do I send a normal transaction like this without fully syncing?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP