Skip to content

Commit 473900f

Browse files
stevenlandersudpatil
authored andcommitted
[EVM] Add unsupported tx type to registered errors (#480)
## Describe your changes and provide context - adds new error ## Testing performed to validate your change - unit on sei-chain
1 parent a51eb25 commit 473900f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

types/errors/errors.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ var (
153153
// ErrOCCAbort defines an error exncountered by a transaction when it encounters an OCC conflict resulting in an Abort
154154
ErrOCCAbort = Register(RootCodespace, 43, "occ abort")
155155

156+
// ErrUnsupportedTxType defines an error for an unsupported transaction type (e.g., EIP-4844 transactions)
157+
ErrUnsupportedTxType = Register(RootCodespace, 44, "unsupported transaction type")
158+
156159
// ErrPanic is only set when we recover from a panic, so we know to
157160
// redact potentially sensitive system info
158161
ErrPanic = Register(UndefinedCodespace, 111222, "panic")

0 commit comments

Comments
 (0)