Skip to content

Commit

Permalink
evm: fix gas cost for basefee and push0
Browse files Browse the repository at this point in the history
  • Loading branch information
libotony committed Apr 23, 2024
1 parent 922c230 commit 22fa53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vm/jump_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22fa53f

Please sign in to comment.