From a98f04a77f7202005ce8fe5360141587149b1b04 Mon Sep 17 00:00:00 2001 From: MariusVanDerWijden Date: Thu, 17 Jul 2025 10:44:24 +0200 Subject: [PATCH] params: update tx gas limit cap --- params/protocol_params.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/params/protocol_params.go b/params/protocol_params.go index f52bb27380..3b48709a88 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -28,7 +28,7 @@ const ( MaxGasLimit uint64 = 0x7fffffffffffffff // Maximum the gas limit (2^63-1). GenesisGasLimit uint64 = 4712388 // Gas limit of the Genesis block. - MaxTxGas uint64 = 30_000_000 // Maximum transaction gas limit after eip-7825. + MaxTxGas uint64 = 1 << 24 // Maximum transaction gas limit after eip-7825 (16,777,216). MaximumExtraDataSize uint64 = 32 // Maximum size extra data may be after Genesis. ExpByteGas uint64 = 10 // Times ceil(log256(exponent)) for the EXP instruction.