Skip to content

Commit

Permalink
evm: remove unused errors left after EIP-2315 removal (#22767)
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast authored Apr 29, 2021
1 parent 56f533d commit 63bad18
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/vm/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ import (

// List evm execution errors
var (
// ErrInvalidSubroutineEntry means that a BEGINSUB was reached via iteration,
// as opposed to from a JUMPSUB instruction
ErrInvalidSubroutineEntry = errors.New("invalid subroutine entry")
ErrOutOfGas = errors.New("out of gas")
ErrCodeStoreOutOfGas = errors.New("contract creation code storage out of gas")
ErrDepth = errors.New("max call depth exceeded")
Expand All @@ -37,8 +34,6 @@ var (
ErrWriteProtection = errors.New("write protection")
ErrReturnDataOutOfBounds = errors.New("return data out of bounds")
ErrGasUintOverflow = errors.New("gas uint64 overflow")
ErrInvalidRetsub = errors.New("invalid retsub")
ErrReturnStackExceeded = errors.New("return stack limit reached")
)

// ErrStackUnderflow wraps an evm error when the items on the stack less
Expand Down

0 comments on commit 63bad18

Please sign in to comment.