File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ var activators = map[int]func(*JumpTable){
4141 1153 : enable1153 ,
4242 4762 : enable4762 ,
4343 7702 : enable7702 ,
44+ 7939 : enable7939 ,
4445}
4546
4647// EnableEIP enables the given EIP on the config.
Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ func NewEVMInterpreter(evm *EVM) *EVMInterpreter {
106106 // If jump table was not initialised we set the default one.
107107 var table * JumpTable
108108 switch {
109+ case evm .chainRules .IsOsaka :
110+ table = & osakaInstructionSet
109111 case evm .chainRules .IsVerkle :
110112 // TODO replace with proper instruction set when fork is specified
111113 table = & verkleInstructionSet
Original file line number Diff line number Diff line change 6262 cancunInstructionSet = newCancunInstructionSet ()
6363 verkleInstructionSet = newVerkleInstructionSet ()
6464 pragueInstructionSet = newPragueInstructionSet ()
65+ osakaInstructionSet = newOsakaInstructionSet ()
6566)
6667
6768// JumpTable contains the EVM opcodes supported at a given fork.
You can’t perform that action at this time.
0 commit comments