I have deployed a PoA network with geth, setting gaslimit to 0x1fffffffffffffff in genesis file. When starting mining and over the time, I have realized gaslimit in each new block decreases. I have tried with --targetgaslimit flag as this question suggests https://stackoverflow.com/questions/50947751/gaslimit-decrease-over-time However, this flag is not supported for newer versions in geth. Is there any other way to prevent gas limit from decreasing when minning new blocks? Thanks

1 Answer 1


In newer version the correct parameter is

--miner.gaslimit value Target gas ceiling for mined blocks (default: 30000000)

See geth's commandline help for other parameters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.