-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Fix unknown/unused cfg
s
#416
Comments
Additional context: warning: unexpected warning: unexpected warning: unexpected |
hey @DaniPopes, on enabling the "reqwest" feature #[cfg(feature = "reqwest")]
pub fn reqwest_http(self, url: url::Url) -> TransportResult<RpcClient<L::Service>>
where
L: Layer<alloy_transport_http::Http<reqwest::Client>>,
L::Service: Transport,
{
let transport = alloy_transport_http::Http::new(url);
let is_local = transport.guess_local();
Ok(self.transport(transport, is_local))
}
I am get this error; crates/provider/src/builder.rs:236:27 Could you help me with a reference to creating an cc: @DaniPopes |
cc @yash-atreya |
If you've enabled the let client = RpcClient<Http<Client>>::new_http(URL); Also can you please share which version of alloy you're using i.e the commit hash you're pinned to? |
@developeruche Implemented a fix here: #419 |
Awesome 🙌 |
Component
consensus, eips, genesis
What version of Alloy are you on?
No response
Operating System
None
Describe the bug
cargo check -Zcheck-cfg
reports a lot of unexpected cfg values. Consider also adding this to CI.The text was updated successfully, but these errors were encountered: