core/vm: update gas cost of CLZ to five (#32172)
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run

a794de3fcf
This commit is contained in:
Felix Lange 2025-07-09 02:46:59 +02:00 committed by GitHub
parent 1cbcebcf47
commit efbba965b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),
}