Skip to content

Commit

Permalink
core/vm: fix copy-paste bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden authored and marioevz committed Sep 12, 2023
1 parent 68b866f commit 9aca7ea
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions core/vm/eips.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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),
}
}

Expand Down

0 comments on commit 9aca7ea

Please sign in to comment.