Open
Description
Goal:
A standard for JSON-RPC error codes and messages across EVM-compatible chains and execution clients to improve interoperability, facilitate consistent error handling, and provide a better developer experience.
Motivation:
- Different Ethereum clients and EVM-compatible chains often use overlapping error codes or generic messages in their JSON-RPC API responses.
- We can fix that by classifying error groups & pre-allocating error codes to well-known errors that clients rely on and leave space for the future error codes that can be proposed & utilized as needed
- The solution is made possible by the new extension specs that Open-RPC supports to create error-groups
Proposal:
ENG-EIP_ Standardized JSON-RPC Error Codes and Messages-220525-143559.pdf
PoC:
#650
rpctestgen Validation PoC:
lightclient/rpctestgen#42
Metadata
Metadata
Assignees
Labels
No labels