Merge pull request #97 from openrelayxyz/feature/etc-plugin-160
Feature/etc plugin 160
This commit is contained in:
commit
7dd3c9d233
@ -72,7 +72,9 @@ func NewEVMInterpreter(evm *EVM) *EVMInterpreter {
|
|||||||
table = &constantinopleInstructionSet
|
table = &constantinopleInstructionSet
|
||||||
case evm.chainRules.IsByzantium:
|
case evm.chainRules.IsByzantium:
|
||||||
table = &byzantiumInstructionSet
|
table = &byzantiumInstructionSet
|
||||||
case evm.chainRules.IsEIP158:
|
// begin PluGeth injection
|
||||||
|
case evm.chainRules.IsEIP160:
|
||||||
|
// end PluGeth injection
|
||||||
table = &spuriousDragonInstructionSet
|
table = &spuriousDragonInstructionSet
|
||||||
case evm.chainRules.IsEIP150:
|
case evm.chainRules.IsEIP150:
|
||||||
table = &tangerineWhistleInstructionSet
|
table = &tangerineWhistleInstructionSet
|
||||||
|
@ -49,7 +49,6 @@ func LookupInstructionSet(rules params.Rules) (JumpTable, error) {
|
|||||||
// Begin plugeth injection
|
// Begin plugeth injection
|
||||||
case rules.IsEIP160:
|
case rules.IsEIP160:
|
||||||
// End plugeth injection
|
// End plugeth injection
|
||||||
case rules.IsEIP158:
|
|
||||||
return newSpuriousDragonInstructionSet(), nil
|
return newSpuriousDragonInstructionSet(), nil
|
||||||
case rules.IsEIP150:
|
case rules.IsEIP150:
|
||||||
return newTangerineWhistleInstructionSet(), nil
|
return newTangerineWhistleInstructionSet(), nil
|
||||||
|
Loading…
Reference in New Issue
Block a user