Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1414 from Lacero-Platform/enhance-create2
Browse files Browse the repository at this point in the history
Set correct value for «create2» opcode
  • Loading branch information
Silas Davis authored Jan 18, 2021
2 parents bee9100 + 5069f1b commit 7595456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions execution/evm/asm/opcodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ const (
CALLCODE
RETURN
DELEGATECALL
CREATE2

// 0x70 range - other
STATICCALL = 0xfa
CREATE2 = 0xfb
REVERT = 0xfd
INVALID = 0xfe
SELFDESTRUCT = 0xff
Expand Down Expand Up @@ -336,9 +336,9 @@ var opCodeNames = map[OpCode]string{
RETURN: "RETURN",
CALLCODE: "CALLCODE",
DELEGATECALL: "DELEGATECALL",
CREATE2: "CREATE2",
STATICCALL: "STATICCALL",
// 0x70 range - other
CREATE2: "CREATE2",
REVERT: "REVERT",
INVALID: "INVALID",
SELFDESTRUCT: "SELFDESTRUCT",
Expand Down

0 comments on commit 7595456

Please sign in to comment.