diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 9330c5f2e5..10cdd72e0c 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -434,6 +434,7 @@ func opBlockhash(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ( num.Clear() return nil, nil } + var upper, lower uint64 upper = interpreter.evm.Context.BlockNumber.Uint64() if upper < 257 { diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go index 229d765847..5624f47ba7 100644 --- a/core/vm/jump_table.go +++ b/core/vm/jump_table.go @@ -87,11 +87,6 @@ func newVerkleInstructionSet() JumpTable { return validate(instructionSet) } -func newPraugeInstructionSet() JumpTable { - instructionSet := newCancunInstructionSet() - return validate(instructionSet) -} - func newCancunInstructionSet() JumpTable { instructionSet := newShanghaiInstructionSet() enable4844(&instructionSet) // EIP-4844 (BLOBHASH opcode) diff --git a/params/protocol_params.go b/params/protocol_params.go index a07efe48bc..7aeb5a89e3 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -195,7 +195,4 @@ var ( HistoryStorageAddress = common.HexToAddress("0x25a219378dad9b3503c8268c9ca836a52427a4fb") // HistoryStorageCode is the code with getters for historical block hashes. HistoryStorageCode = common.FromHex("60203611603157600143035f35116029575f356120000143116029576120005f3506545f5260205ff35b5f5f5260205ff35b5f5ffd00") - - // Magic prefix for EIP-3074 AUTH messages. - AuthMagic = byte(0x04) )