eth/catalyst: implement kintsugi-spec v3 (#24067)

This commit is contained in:
Marius van der Wijden
2021-12-17 15:38:58 +01:00
committed by GitHub
parent f5f5c0855a
commit 2295640ebd
8 changed files with 97 additions and 59 deletions

View File

@ -104,10 +104,10 @@ func (e *invalidParamsError) ErrorCode() int { return -32602 }
func (e *invalidParamsError) Error() string { return e.message }
type CustomError struct {
Code int
Message string
Code int
ValidationError string
}
func (e *CustomError) ErrorCode() int { return e.Code }
func (e *CustomError) Error() string { return e.Message }
func (e *CustomError) Error() string { return e.ValidationError }