gear
gear copied to clipboard
ethexe: introduce tx pool error types
This is mainly useful for RPC and validation:
- RPC will send a response with a clear error message.
- Some validation failures signalize that this error can be returned to the caller/requester, but some of them should trigger panic. So after introducing errors, panics from
tx_pool::validationshould be removed and called, if necessary, on upper levels.
@techraed please more details, I cannot find any panics in tx_pool::validation