diff --git a/core/vm/eips.go b/core/vm/eips.go index a7ba15f382..1f7a9d68f0 100644 --- a/core/vm/eips.go +++ b/core/vm/eips.go @@ -294,16 +294,16 @@ func opBlobHash(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([ return nil, nil } -// enable4844 applies EIP-4844 (DATAHASH opcode) -func enable4844(jt *JumpTable) { - // New opcode - jt[BLOBHASH] = &operation{ - execute: opBlobHash, - constantGas: GasFastestStep, - minStack: minStack(1, 1), - maxStack: maxStack(1, 1), - } -} +// // enable4844 applies EIP-4844 (DATAHASH opcode) +// func enable4844(jt *JumpTable) { +// // New opcode +// jt[BLOBHASH] = &operation{ +// execute: opBlobHash, +// constantGas: GasFastestStep, +// minStack: minStack(1, 1), +// maxStack: maxStack(1, 1), +// } +// } // enable6780 applies EIP-6780 (deactivate SELFDESTRUCT) func enable6780(jt *JumpTable) { diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go index f05c3a8a95..e2e8342516 100644 --- a/core/vm/jump_table.go +++ b/core/vm/jump_table.go @@ -83,7 +83,8 @@ func validate(jt JumpTable) JumpTable { func newCancunInstructionSet() JumpTable { instructionSet := newShanghaiInstructionSet() - enable4844(&instructionSet) // EIP-4844 (DATAHASH opcode) + // Disabled in bor + // enable4844(&instructionSet) // EIP-4844 (DATAHASH opcode) enable1153(&instructionSet) // EIP-1153 "Transient Storage" enable5656(&instructionSet) // EIP-5656 (MCOPY opcode) enable6780(&instructionSet) // EIP-6780 SELFDESTRUCT only in same transaction