Skip to content

Rm redundant error codes #686

@emhane

Description

@emhane

Remove redundant supervisor RPC error codes. Instead the error code section should mention that supervisor impls should refer to https://ethereum-json-rpc.com/errors to find a suitable catch all variant for errors which don't belong to any of the given protocol specific error codes.
https://github.com/ethereum-optimism/specs/blob/main/specs/interop/supervisor.md#protocol-specific-error-codes

Some codes seem to be only used internally by Go implementation, for example this appears to be the case for

The list should only contain errors specific to the interop consensus checks implemented by the supervisor.

Ref paradigmxyz/reth#15944 (comment)

Metadata

Metadata

Assignees

Labels

A-rpcArea: RPC APIA-supervisorArea: supervisorC-debtCategory: debtC-good-first-issueGood for newcomersH-interopHardfork: change planned for Interop upgrade

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions