diff --git a/crates/consensus/src/request.rs b/crates/consensus/src/request.rs index 966253f5d48..f1ea5e9b6cf 100644 --- a/crates/consensus/src/request.rs +++ b/crates/consensus/src/request.rs @@ -1,3 +1,5 @@ +#![allow(unknown_lints, non_local_definitions)] // TODO: remove when proptest-derive updates + use alloy_eips::{ eip6110::DepositRequest, eip7002::WithdrawalRequest, diff --git a/crates/eips/src/eip1898.rs b/crates/eips/src/eip1898.rs index 6f1afe15659..eb9d687afdc 100644 --- a/crates/eips/src/eip1898.rs +++ b/crates/eips/src/eip1898.rs @@ -1,6 +1,6 @@ //! [EIP-1898]: https://eips.ethereum.org/EIPS/eip-1898 -#![allow(unknown_lints, non_local_definitions)] +#![allow(unknown_lints, non_local_definitions)] // TODO: remove when proptest-derive updates use alloy_primitives::{hex::FromHexError, ruint::ParseError, BlockHash, BlockNumber, B256, U64}; use alloy_rlp::{bytes, Decodable, Encodable, Error as RlpError}; diff --git a/crates/eips/src/eip2930.rs b/crates/eips/src/eip2930.rs index 31cbff76904..513a80f794c 100644 --- a/crates/eips/src/eip2930.rs +++ b/crates/eips/src/eip2930.rs @@ -2,6 +2,8 @@ //! //! [EIP-2930]: https://eips.ethereum.org/EIPS/eip-2930 +#![allow(unknown_lints, non_local_definitions)] // TODO: remove when proptest-derive updates + #[cfg(not(feature = "std"))] use alloc::vec::Vec; diff --git a/crates/eips/src/eip4844/sidecar.rs b/crates/eips/src/eip4844/sidecar.rs index efffd20fc6f..2f932df075d 100644 --- a/crates/eips/src/eip4844/sidecar.rs +++ b/crates/eips/src/eip4844/sidecar.rs @@ -1,5 +1,7 @@ //! EIP-4844 sidecar type +#![allow(unknown_lints, non_local_definitions)] // TODO: remove when proptest-derive updates + use crate::eip4844::{ kzg_to_versioned_hash, Blob, Bytes48, BYTES_PER_BLOB, BYTES_PER_COMMITMENT, BYTES_PER_PROOF, }; diff --git a/crates/eips/src/eip4895.rs b/crates/eips/src/eip4895.rs index beb74285955..c6fa97e0e18 100644 --- a/crates/eips/src/eip4895.rs +++ b/crates/eips/src/eip4895.rs @@ -2,6 +2,8 @@ //! //! [EIP-4895]: https://eips.ethereum.org/EIPS/eip-4895 +#![allow(unknown_lints, non_local_definitions)] // TODO: remove when proptest-derive updates + use alloy_primitives::{Address, U256}; use alloy_rlp::{RlpDecodable, RlpEncodable}; diff --git a/crates/eips/src/eip6110.rs b/crates/eips/src/eip6110.rs index 713efba2eeb..9a7940535bd 100644 --- a/crates/eips/src/eip6110.rs +++ b/crates/eips/src/eip6110.rs @@ -4,6 +4,8 @@ //! //! Provides validator deposits as a list of deposit operations added to the Execution Layer block. +#![allow(unknown_lints, non_local_definitions)] // TODO: remove when proptest-derive updates + use alloy_primitives::{address, Address, FixedBytes, B256}; use alloy_rlp::{RlpDecodable, RlpEncodable}; diff --git a/crates/eips/src/eip7002.rs b/crates/eips/src/eip7002.rs index 8b8792e438f..7da167df6b0 100644 --- a/crates/eips/src/eip7002.rs +++ b/crates/eips/src/eip7002.rs @@ -2,7 +2,7 @@ //! //! See also [EIP-7002](https://eips.ethereum.org/EIPS/eip-7002): Execution layer triggerable withdrawals -#![allow(unknown_lints, non_local_definitions)] +#![allow(unknown_lints, non_local_definitions)] // TODO: remove when proptest-derive updates use alloy_primitives::{address, bytes, Address, Bytes, FixedBytes}; use alloy_rlp::{RlpDecodable, RlpEncodable}; diff --git a/crates/provider/src/provider/trait.rs b/crates/provider/src/provider/trait.rs index cb0678d9433..8baba2d6965 100644 --- a/crates/provider/src/provider/trait.rs +++ b/crates/provider/src/provider/trait.rs @@ -944,11 +944,9 @@ impl Provider for RootProvider { mod tests { use super::*; use crate::{ProviderBuilder, WalletProvider}; - use alloy_network::TransactionBuilder; use alloy_node_bindings::Anvil; use alloy_primitives::{address, b256, bytes}; use alloy_rpc_types::request::TransactionRequest; - use alloy_sol_types::SolValue; fn init_tracing() { let _ = tracing_subscriber::fmt::try_init(); @@ -1370,6 +1368,9 @@ mod tests { feature = "reqwest-native-tls", ))] async fn call_mainnet() { + use alloy_network::TransactionBuilder; + use alloy_sol_types::SolValue; + init_tracing(); let url = "https://eth-mainnet.alchemyapi.io/v2/jGiK5vwDfC3F4r0bqukm-W2GqgdrxdSr"; let provider = ProviderBuilder::new().on_http(url.parse().unwrap()); diff --git a/crates/rpc-types/src/eth/log.rs b/crates/rpc-types/src/eth/log.rs index 496f4f9c72a..cc74d880e9c 100644 --- a/crates/rpc-types/src/eth/log.rs +++ b/crates/rpc-types/src/eth/log.rs @@ -1,3 +1,5 @@ +#![allow(unknown_lints, non_local_definitions)] // TODO: remove when proptest-derive updates + use alloy_primitives::{LogData, B256}; use serde::{Deserialize, Serialize}; diff --git a/crates/rpc-types/src/eth/transaction/receipt.rs b/crates/rpc-types/src/eth/transaction/receipt.rs index 183fb9285c8..ecf16ce5057 100644 --- a/crates/rpc-types/src/eth/transaction/receipt.rs +++ b/crates/rpc-types/src/eth/transaction/receipt.rs @@ -1,3 +1,5 @@ +#![allow(unknown_lints, non_local_definitions)] // TODO: remove when proptest-derive updates + use crate::{Log, WithOtherFields}; use alloy_consensus::{AnyReceiptEnvelope, ReceiptEnvelope, TxType}; use alloy_primitives::{Address, B256};