Skip to content

Commit bc75e72

Browse files
authored
refactor(l2): reduce lines in eth client (#3957)
**Motivation** Creating a `RpcRequest` required ~6 lines of duplicated code in each method. We were also matching on `Result` instead of using the `?` operator. **Description** - Adds a `RpcRequest::new()` method. - Improves error handling. Closes None
1 parent c9912cc commit bc75e72

File tree

2 files changed

+105
-207
lines changed

2 files changed

+105
-207
lines changed

0 commit comments

Comments
 (0)