@@ -191,13 +191,29 @@ const opcodes = {
191
191
192
192
// Array of hard forks in order. These changes are repeatedly applied to `opcodes` until the hard fork is in the future based upon the common
193
193
// TODO: All gas price changes should be moved to common
194
+ // If the base gas cost of any of the operations change, then these should also be added to this list.
195
+ // If there are context variables changed (such as "warm slot reads") which are not the base gas fees,
196
+ // Then this does not have to be added.
194
197
const hardforkOpcodes = [
195
198
{
196
199
hardforkName : 'homestead' ,
197
200
opcodes : {
198
201
0xf4 : { name : 'DELEGATECALL' , isAsync : true } , // EIP 7
199
202
} ,
200
203
} ,
204
+ {
205
+ hardforkName : 'tangerineWhistle' ,
206
+ opcodes : {
207
+ 0x54 : { name : 'SLOAD' , isAsync : true } ,
208
+ 0xf1 : { name : 'CALL' , isAsync : true } ,
209
+ 0xf2 : { name : 'CALLCODE' , isAsync : true } ,
210
+ 0x3b : { name : 'EXTCODESIZE' , isAsync : true } ,
211
+ 0x3c : { name : 'EXTCODECOPY' , isAsync : true } ,
212
+ 0xf4 : { name : 'DELEGATECALL' , isAsync : true } , // EIP 7
213
+ 0xff : { name : 'SELFDESTRUCT' , isAsync : true } ,
214
+ 0x31 : { name : 'BALANCE' , isAsync : true } ,
215
+ } ,
216
+ } ,
201
217
{
202
218
hardforkName : 'byzantium' ,
203
219
opcodes : {
0 commit comments