Skip to content

Commit 0c5cca2

Browse files
authored
Merge pull request #2432 from CortexFoundation/dev
update tx gas limit cap
2 parents bb5933b + 44fe2ae commit 0c5cca2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

params/protocol_params.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const (
3030
MinerGasFloor uint64 = MinGasLimit
3131
MinerGasCeil uint64 = 160000000
3232

33-
MaxTxGas uint64 = 30_000_000 // Maximum transaction gas limit after eip-7825.
33+
MaxTxGas uint64 = 1 << 24 // Maximum transaction gas limit after eip-7825 (16,777,216).
3434

3535
MaximumExtraDataSize uint64 = 32 // Maximum size extra data may be after Genesis.
3636
ExpByteGas uint64 = 10 // Times ceil(log256(exponent)) for the EXP instruction.

0 commit comments

Comments
 (0)