DEFAULT_RETRYABLE_RPC_ERROR_MESSAGES
Documentation for eth_defi.middleware.DEFAULT_RETRYABLE_RPC_ERROR_MESSAGES data.
- DEFAULT_RETRYABLE_RPC_ERROR_MESSAGES = {'Parse error', 'Unexpected error (code=40000)', 'empty reader set', 'execution aborted (timeout = 5s)', 'header not found', 'nonce too low'}
Because Ethreum JSON-RPC API is horribly broken, we also need to check for error messages besides error codes.