mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-18 00:50:39 +00:00
core/vm: make all opcodes proper type (#30925)
Noticed this omission while doing some work on goevmlab. We don't properly type some of the opcodes, but apparently implicit casting works in all the internal usecases.
This commit is contained in:
parent
feaf1c95b1
commit
5b9a3ea9d2
1 changed files with 2 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ const (
|
|||
|
||||
// 0x80 range - dups.
|
||||
const (
|
||||
DUP1 = 0x80 + iota
|
||||
DUP1 OpCode = 0x80 + iota
|
||||
DUP2
|
||||
DUP3
|
||||
DUP4
|
||||
|
|
@ -184,7 +184,7 @@ const (
|
|||
|
||||
// 0x90 range - swaps.
|
||||
const (
|
||||
SWAP1 = 0x90 + iota
|
||||
SWAP1 OpCode = 0x90 + iota
|
||||
SWAP2
|
||||
SWAP3
|
||||
SWAP4
|
||||
|
|
|
|||
Loading…
Reference in a new issue