[go: nahoru, domu]

Skip to content

Commit

Permalink
Bump enr version (#2741)
Browse files Browse the repository at this point in the history
* Bump enr version

* Drive-by, fix lint
  • Loading branch information
emhane committed Feb 17, 2024
1 parent 6136dde commit 52da018
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ethers-providers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ futures-channel = { workspace = true, optional = true }
pin-project.workspace = true

# peer-related admin namespace
enr = { version = "0.9.0", default-features = false, features = ["k256", "serde"] }
enr = { version = "0.10", default-features = false, features = ["k256", "serde"] }

# tracing
tracing = { workspace = true, features = ["attributes"] }
Expand Down
1 change: 1 addition & 0 deletions ethers-providers/src/rpc/connections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub trait JsonRpcClient: Debug + Send + Sync {
}

/// A transport implementation supporting pub sub subscriptions.
#[allow(dead_code)]
pub trait PubsubClient: JsonRpcClient {
/// The type of stream this transport returns
type NotificationStream: futures_core::Stream<Item = Box<RawValue>> + Send + Unpin;
Expand Down
2 changes: 1 addition & 1 deletion ethers-providers/src/rpc/transports/ws/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ impl RequestManager {
reconnects: usize,
) -> Result<(Self, WsClient), WsClientError> {
let (backend, (instructions_tx, instructions_rx), channel_map) =
Self::connect_with_config_internal(conn.clone(), config.clone()).await?;
Self::connect_with_config_internal(conn.clone(), config).await?;

Ok((
Self {
Expand Down

0 comments on commit 52da018

Please sign in to comment.