From e7e66a6b22127c72bac1c61f66d7e586e81dc4cf Mon Sep 17 00:00:00 2001 From: 0xcharry Date: Fri, 6 Feb 2026 22:12:47 +0100 Subject: [PATCH] Update evm.go --- core/vm/evm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/evm.go b/core/vm/evm.go index c365f637d2..be07fe1d31 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -176,7 +176,7 @@ func NewEVM(blockCtx BlockContext, statedb StateDB, chainConfig *params.ChainCon default: evm.table = &frontierInstructionSet } - var extraEips []int + extraEips := make([]int, 0, len(evm.Config.ExtraEips)) if len(evm.Config.ExtraEips) > 0 { // Deep-copy jumptable to prevent modification of opcodes in other tables evm.table = copyJumpTable(evm.table)