Skip to content

Commit d9db92e

Browse files
committed
add Serialize, Deserialize to eth::Provider
1 parent 2bb3a6a commit d9db92e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl std::cmp::PartialEq<str> for NodeOrRpcUrl {
184184
/// Set the chain_id to determine which chain to call: requests will fail
185185
/// unless the node this process is running on has access to a provider
186186
/// for that chain.
187-
#[derive(Clone, Debug)]
187+
#[derive(Clone, Debug, Deserialize, Serialize)]
188188
pub struct Provider {
189189
chain_id: u64,
190190
request_timeout: u64,

0 commit comments

Comments
 (0)