@@ -68,12 +68,11 @@ func enable1884(jt *JumpTable) {
6868 jt [EXTCODEHASH ].constantGas = params .ExtcodeHashGasEIP1884
6969
7070 // New opcode
71- jt [SELFBALANCE ] = operation {
71+ jt [SELFBALANCE ] = & operation {
7272 execute : opSelfBalance ,
7373 constantGas : GasFastStep ,
7474 minStack : minStack (0 , 1 ),
7575 maxStack : maxStack (0 , 1 ),
76- valid : true ,
7776 }
7877}
7978
@@ -87,12 +86,11 @@ func opSelfBalance(pc *uint64, interpreter *EVMInterpreter, callContext *callCtx
8786// - Adds an opcode that returns the current chain’s EIP-155 unique identifier
8887func enable1344 (jt * JumpTable ) {
8988 // New opcode
90- jt [CHAINID ] = operation {
89+ jt [CHAINID ] = & operation {
9190 execute : opChainID ,
9291 constantGas : GasQuickStep ,
9392 minStack : minStack (0 , 1 ),
9493 maxStack : maxStack (0 , 1 ),
95- valid : true ,
9694 }
9795}
9896
@@ -113,29 +111,26 @@ func enable2200(jt *JumpTable) {
113111// - Adds opcodes that jump to and return from subroutines
114112func enable2315 (jt * JumpTable ) {
115113 // New opcode
116- jt [BEGINSUB ] = operation {
114+ jt [BEGINSUB ] = & operation {
117115 execute : opBeginSub ,
118116 constantGas : GasQuickStep ,
119117 minStack : minStack (0 , 0 ),
120118 maxStack : maxStack (0 , 0 ),
121- valid : true ,
122119 }
123120 // New opcode
124- jt [JUMPSUB ] = operation {
121+ jt [JUMPSUB ] = & operation {
125122 execute : opJumpSub ,
126123 constantGas : GasSlowStep ,
127124 minStack : minStack (1 , 0 ),
128125 maxStack : maxStack (1 , 0 ),
129126 jumps : true ,
130- valid : true ,
131127 }
132128 // New opcode
133- jt [RETURNSUB ] = operation {
129+ jt [RETURNSUB ] = & operation {
134130 execute : opReturnSub ,
135131 constantGas : GasFastStep ,
136132 minStack : minStack (0 , 0 ),
137133 maxStack : maxStack (0 , 0 ),
138- valid : true ,
139134 jumps : true ,
140135 }
141136}
0 commit comments