This commit is contained in:
Arpit Temani 2023-11-09 21:19:27 +05:30
parent cee2c221b2
commit bee537ab98

View file

@ -294,16 +294,16 @@ func opBlobHash(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([
return nil, nil return nil, nil
} }
// enable4844 applies EIP-4844 (DATAHASH opcode) // // enable4844 applies EIP-4844 (DATAHASH opcode)
func enable4844(jt *JumpTable) { // func enable4844(jt *JumpTable) {
// New opcode // // New opcode
jt[BLOBHASH] = &operation{ // jt[BLOBHASH] = &operation{
execute: opBlobHash, // execute: opBlobHash,
constantGas: GasFastestStep, // constantGas: GasFastestStep,
minStack: minStack(1, 1), // minStack: minStack(1, 1),
maxStack: maxStack(1, 1), // maxStack: maxStack(1, 1),
} // }
} // }
// enable6780 applies EIP-6780 (deactivate SELFDESTRUCT) // enable6780 applies EIP-6780 (deactivate SELFDESTRUCT)
func enable6780(jt *JumpTable) { func enable6780(jt *JumpTable) {