Besu increases gasLimit
when no --target-gas-limit
is specified
#7614
Labels
bug
Something isn't working
non mainnet (private networks)
not related to mainnet features - covers privacy, permissioning, IBFT2, QBFT
P3
Medium (ex: JSON-RPC request not working with a specific client library due to loose spec assumtion)
I'm attempting to limit gas usage in a private network, but Besu seems not to honor
gasLimit
from genesis config, and instead increases gas limit up to the value configured for sepolia (0x1c9c380
). However, the docs for the--target-gas-limit
command line option state thatSteps to reproduce
I'm using the following genesis.json:
I'm starting the docker container with besu 24.8.0:
Then I attempt to manually forge the new block:
Note that gas limit has increased from
0x1000000
in genesis to0x1003fff
. Now I add--target-gas-limit=16777216
to the command line and retry:I expect besu to keep
gasLimit
when no--target-gas-limit
is set, but for some reason it does not work as expected.The text was updated successfully, but these errors were encountered: