From c6068c2cfb5d1850222c668cc13eb2565b558218 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 8 Jul 2025 15:31:51 +0200 Subject: [PATCH] core/vm: update gas cost of CLZ to five --- core/vm/eips.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/vm/eips.go b/core/vm/eips.go index a69946de4d7..7764bd20b62 100644 --- a/core/vm/eips.go +++ b/core/vm/eips.go @@ -311,10 +311,11 @@ func enable4844(jt *JumpTable) { } } +// enable7939 enables EIP-7939 (CLZ opcode) func enable7939(jt *JumpTable) { jt[CLZ] = &operation{ execute: opCLZ, - constantGas: GasFastestStep, + constantGas: GasFastStep, minStack: minStack(1, 1), maxStack: maxStack(1, 1), }