Skip to content

Commit

Permalink
core/vm: make all opcodes proper type
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman committed Dec 17, 2024
1 parent bc1ec69 commit 3cddc69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/vm/opcodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const (

// 0x80 range - dups.
const (
DUP1 = 0x80 + iota
DUP1 OpCode = 0x80 + iota
DUP2
DUP3
DUP4
Expand All @@ -184,7 +184,7 @@ const (

// 0x90 range - swaps.
const (
SWAP1 = 0x90 + iota
SWAP1 OpCode = 0x90 + iota
SWAP2
SWAP3
SWAP4
Expand Down

0 comments on commit 3cddc69

Please sign in to comment.