refactor to reduce crazy repetition

This commit is contained in:
dr-frmr 2024-03-01 18:58:50 -03:00
parent 425a3995b5
commit a2286ad3c4
No known key found for this signature in database
2 changed files with 398 additions and 359 deletions

File diff suppressed because it is too large Load Diff

View File

@ -59,7 +59,7 @@ pub enum EthResponse {
Err(EthError),
}
#[derive(Debug, Serialize, Deserialize)]
#[derive(Debug, Serialize, Deserialize, PartialEq)]
pub enum EthError {
/// provider module cannot parse message
MalformedRequest,