Skip to content

Commit

Permalink
[EVM] Add unsupported tx type to registered errors (#480)
Browse files Browse the repository at this point in the history
## Describe your changes and provide context
- adds new error 

## Testing performed to validate your change
- unit on sei-chain
  • Loading branch information
stevenlanders authored and udpatil committed Apr 19, 2024
1 parent 7296878 commit 1bd5300
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ var (
// ErrOCCAbort defines an error exncountered by a transaction when it encounters an OCC conflict resulting in an Abort
ErrOCCAbort = Register(RootCodespace, 43, "occ abort")

// ErrUnsupportedTxType defines an error for an unsupported transaction type (e.g., EIP-4844 transactions)
ErrUnsupportedTxType = Register(RootCodespace, 44, "unsupported transaction type")

// ErrPanic is only set when we recover from a panic, so we know to
// redact potentially sensitive system info
ErrPanic = Register(UndefinedCodespace, 111222, "panic")
Expand Down

0 comments on commit 1bd5300

Please sign in to comment.