Skip to main content
Notice removed Draw attention by CommunityBot
Bounty Ended with cqx's answer chosen by CommunityBot
Formatting and Grammar, seems like a non-native speaker and a new member
Source Link

After upgradingProblem: I've upgraded my geth node to lastthe latest version (1.9.0-unstable),. The block gasLimit of the node is fixed toat 5000:

eth.getBlock("latest").gasLimit
     
5000

This is a problemWhen I try to send transactionsa transaction, gettingI get the following error message:

Error: exceeds block gas limit

On previous versions, block gasLimit was much higher:

eth.getBlock("latest").gasLimit
    4286582786

and let me to deploy contracts and perform transactions.

Attempted fixes: I have tried to alter the default gasLimit value from genesis.jsonin the genesis.json:

"gasLimit": "0xffffffff"

and fromFrom geth node command line option:

--targetgaslimit '9000000000000'
 

but stillPoint to note: On previous versions, i.e, before upgrading, the block gasLimit is just 5000returned by the node was much higher and it let me deploy contracts and perform transactions.

Any idea why this change on go-ethereum last version? How can I overcome it? Thx!

eth.getBlock("latest").gasLimit

4286582786

After upgrading geth node to last version (1.9.0-unstable), block gasLimit is fixed to 5000:

eth.getBlock("latest").gasLimit
    5000

This is a problem to send transactions, getting the error message

Error: exceeds block gas limit

On previous versions, block gasLimit was much higher:

eth.getBlock("latest").gasLimit
    4286582786

and let me to deploy contracts and perform transactions.

I have tried to alter the default gasLimit value from genesis.json:

"gasLimit": "0xffffffff"

and from geth node command line option:

--targetgaslimit '9000000000000'

but still gasLimit is just 5000.

Any idea why this change on go-ethereum last version? How can I overcome it? Thx!

Problem: I've upgraded my geth node to the latest version (1.9.0-unstable). The block gasLimit of the node is fixed at 5000:

eth.getBlock("latest").gasLimit
 
5000

When I try to send a transaction, I get the following error:

Error: exceeds block gas limit

Attempted fixes: I have tried to alter the default gasLimit value in the genesis.json:

"gasLimit": "0xffffffff"

From geth node command line option:

--targetgaslimit '9000000000000'
 

Point to note: On previous versions, i.e, before upgrading, the block gasLimit returned by the node was much higher and it let me deploy contracts and perform transactions.

eth.getBlock("latest").gasLimit

4286582786
Notice added Draw attention by Juan Ignacio Pérez Sacristán
Bounty Started worth 50 reputation by Juan Ignacio Pérez Sacristán
Source Link

gasLimit 5000 on private Ethereum geth node

After upgrading geth node to last version (1.9.0-unstable), block gasLimit is fixed to 5000:

eth.getBlock("latest").gasLimit
    5000

This is a problem to send transactions, getting the error message

Error: exceeds block gas limit

On previous versions, block gasLimit was much higher:

eth.getBlock("latest").gasLimit
    4286582786

and let me to deploy contracts and perform transactions.

I have tried to alter the default gasLimit value from genesis.json:

"gasLimit": "0xffffffff"

and from geth node command line option:

--targetgaslimit '9000000000000'

but still gasLimit is just 5000.

Any idea why this change on go-ethereum last version? How can I overcome it? Thx!