From 9aca7ea73abc59a3a867680416fabd8b0d2acb02 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Tue, 12 Sep 2023 18:35:42 +0200 Subject: [PATCH] core/vm: fix copy-paste bugs --- core/vm/eips.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/core/vm/eips.go b/core/vm/eips.go index a89d4c410b52..6104c669687e 100644 --- a/core/vm/eips.go +++ b/core/vm/eips.go @@ -284,7 +284,7 @@ func opBlobHash(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([ // opBlobfee implements BLOBFEE opcode func opBlobfee(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) { - blobFee, _ := uint256.FromBig(interpreter.evm.Context.Blobfee) + blobFee, _ := uint256.FromBig(interpreter.evm.Context.BlobFee) scope.Stack.push(blobFee) return nil, nil } @@ -299,11 +299,10 @@ func enable4844(jt *JumpTable) { maxStack: maxStack(1, 1), } jt[BLOBFEE] = &operation{ - execute: opSelfdestruct6780, - dynamicGas: gasSelfdestructEIP3529, - constantGas: params.SelfdestructGasEIP150, - minStack: minStack(1, 0), - maxStack: maxStack(1, 0), + execute: opBlobfee, + constantGas: GasQuickStep, + minStack: minStack(0, 1), + maxStack: maxStack(0, 1), } }