core/vm: update gas cost of CLZ to five

This commit is contained in:
Felix Lange 2025-07-08 15:31:51 +02:00
parent 1cbcebcf47
commit c6068c2cfb

View file

@ -311,10 +311,11 @@ func enable4844(jt *JumpTable) {
} }
} }
// enable7939 enables EIP-7939 (CLZ opcode)
func enable7939(jt *JumpTable) { func enable7939(jt *JumpTable) {
jt[CLZ] = &operation{ jt[CLZ] = &operation{
execute: opCLZ, execute: opCLZ,
constantGas: GasFastestStep, constantGas: GasFastStep,
minStack: minStack(1, 1), minStack: minStack(1, 1),
maxStack: maxStack(1, 1), maxStack: maxStack(1, 1),
} }