From 22fa53f7cc3354d59c81c92c444b2666672d9a49 Mon Sep 17 00:00:00 2001 From: tony Date: Fri, 12 Apr 2024 10:44:59 +0100 Subject: [PATCH] evm: fix gas cost for basefee and push0 --- vm/jump_table.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/jump_table.go b/vm/jump_table.go index 7e437e69c..f31ce377b 100644 --- a/vm/jump_table.go +++ b/vm/jump_table.go @@ -61,12 +61,12 @@ func NewShanghaiInstructionSet() *JumpTable { instructionSet := NewIstanbulInstructionSet() instructionSet[BASEFEE] = &operation{ execute: opBaseFee, - gasCost: constGasFunc(GasFastStep), + gasCost: constGasFunc(GasQuickStep), validateStack: makeStackFunc(0, 1), } instructionSet[PUSH0] = &operation{ execute: opPush0, - gasCost: constGasFunc(GasFastStep), + gasCost: constGasFunc(GasQuickStep), validateStack: makeStackFunc(0, 1), } return instructionSet