Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Fix CREATE 2 in jumpTable used for VM opcode dispatch on linux & macos
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Jul 23, 2018
1 parent c950c7c commit 4229006
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libevm/Instruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ enum class Instruction: uint8_t
CALLCODE, ///< message-call with another account's code only
RETURN, ///< halt execution returning output data
DELEGATECALL, ///< like CALLCODE but keeps caller's value and sender
STATICCALL = 0xfa, ///< like CALL except state changing operation are not permitted (will throw)
CREATE2 = 0xf5, ///< create a new account with associated code. sha3((sender + salt + code)
STATICCALL = 0xfa, ///< like CALL except state changing operation are not permitted (will throw)
REVERT = 0xfd, ///< stop execution and revert state changes, without consuming all provided gas
INVALID = 0xfe, ///< dedicated invalid instruction
SUICIDE = 0xff ///< halt execution and register account for later deletion
Expand Down
4 changes: 2 additions & 2 deletions libevm/LegacyVMConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -408,13 +408,13 @@ namespace dev
&&CALLCODE, \
&&RETURN, \
&&DELEGATECALL, \
&&INVALID, \
&&CREATE2, \
&&INVALID, \
&&INVALID, \
&&INVALID, \
&&INVALID, \
&&STATICCALL, \
&&CREATE2, \
&&INVALID, \
&&INVALID, \
&&REVERT, \
&&INVALID, \
Expand Down

0 comments on commit 4229006

Please sign in to comment.