diff --git a/crates/provider/src/provider/trait.rs b/crates/provider/src/provider/trait.rs index eba0994d662..47225b72a1f 100644 --- a/crates/provider/src/provider/trait.rs +++ b/crates/provider/src/provider/trait.rs @@ -34,19 +34,10 @@ use super::EthCallMany; /// See [`PollerBuilder`] for more details. pub type FilterPollerBuilder = PollerBuilder<(U256,), Vec>; -// todo: adjust docs -// todo: reorder -/// Provider is parameterized with a network and a transport. The default -/// transport is type-erased, but you can do `Provider`. +/// Ethereum JSON-RPC interface. /// /// # Subscriptions /// -/// **IMPORTANT:** this is currently only available when `T` is -/// `PubSubFrontend` or `BoxedClient` over `PubSubFrontend` due to an internal -/// limitation. This means that layering transports will always disable -/// subscription support. See -/// [issue #296](https://github.com/alloy-rs/alloy/issues/296). -/// /// The provider supports `pubsub` subscriptions to new block headers and /// pending transactions. This is only available on `pubsub` clients, such as /// Websockets or IPC.