Skip to content

Commit

Permalink
add Serialize, Deserialize to eth::Provider
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-frmr committed Jul 22, 2024
1 parent 2bb3a6a commit d9db92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ impl std::cmp::PartialEq<str> for NodeOrRpcUrl {
/// Set the chain_id to determine which chain to call: requests will fail
/// unless the node this process is running on has access to a provider
/// for that chain.
#[derive(Clone, Debug)]
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Provider {
chain_id: u64,
request_timeout: u64,
Expand Down

0 comments on commit d9db92e

Please sign in to comment.