diff --git a/crates/ethereum-forks/src/lib.rs b/crates/ethereum-forks/src/lib.rs index f8c8238a46f4..87a1759e59c6 100644 --- a/crates/ethereum-forks/src/lib.rs +++ b/crates/ethereum-forks/src/lib.rs @@ -11,6 +11,8 @@ html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/" )] +// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged +#![allow(unknown_lints, non_local_definitions)] #![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] mod forkid; diff --git a/crates/net/eth-wire/src/lib.rs b/crates/net/eth-wire/src/lib.rs index cfb2fd9fc909..c4ac8972aff3 100644 --- a/crates/net/eth-wire/src/lib.rs +++ b/crates/net/eth-wire/src/lib.rs @@ -10,6 +10,8 @@ html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/" )] +// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged +#![allow(unknown_lints, non_local_definitions)] #![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] pub mod builder; diff --git a/crates/net/eth-wire/tests/fuzz_roundtrip.rs b/crates/net/eth-wire/tests/fuzz_roundtrip.rs index f829e978817c..9bd75e3f3492 100644 --- a/crates/net/eth-wire/tests/fuzz_roundtrip.rs +++ b/crates/net/eth-wire/tests/fuzz_roundtrip.rs @@ -1,5 +1,8 @@ //! Round-trip encoding fuzzing for the `eth-wire` crate. +// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged +#![allow(unknown_lints, non_local_definitions)] + use alloy_rlp::{Decodable, Encodable}; use serde::Serialize; use std::fmt::Debug; diff --git a/crates/primitives/src/lib.rs b/crates/primitives/src/lib.rs index 9b0476a828c6..9eb3a1e0cfe4 100644 --- a/crates/primitives/src/lib.rs +++ b/crates/primitives/src/lib.rs @@ -12,6 +12,8 @@ html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/" )] +// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged +#![allow(unknown_lints, non_local_definitions)] #![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] mod account; diff --git a/crates/revm/src/processor.rs b/crates/revm/src/processor.rs index 0e66638b2c7e..2facf9eea092 100644 --- a/crates/revm/src/processor.rs +++ b/crates/revm/src/processor.rs @@ -591,9 +591,9 @@ mod tests { Account, Bytecode, Bytes, ChainSpecBuilder, ForkCondition, Signature, StorageKey, Transaction, TransactionKind, TxEip1559, MAINNET, }; - use reth_provider::{ - AccountReader, BlockHashReader, BundleStateWithReceipts, StateRootProvider, - }; + #[cfg(feature = "optimism")] + use reth_provider::BundleStateWithReceipts; + use reth_provider::{AccountReader, BlockHashReader, StateRootProvider}; use reth_trie::updates::TrieUpdates; use revm::{Database, TransitionState}; use std::collections::HashMap; diff --git a/crates/storage/codecs/src/lib.rs b/crates/storage/codecs/src/lib.rs index 5b2fc4efdbba..fe72d188f6ba 100644 --- a/crates/storage/codecs/src/lib.rs +++ b/crates/storage/codecs/src/lib.rs @@ -6,6 +6,8 @@ issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/" )] #![warn(unused_crate_dependencies)] +// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged +#![allow(unknown_lints, non_local_definitions)] #![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] #![cfg_attr(not(feature = "std"), no_std)] diff --git a/crates/storage/db/src/tables/mod.rs b/crates/storage/db/src/tables/mod.rs index f9148d4a9d2d..3ccce8a9e1b9 100644 --- a/crates/storage/db/src/tables/mod.rs +++ b/crates/storage/db/src/tables/mod.rs @@ -12,6 +12,9 @@ //! //! TODO(onbjerg): Find appropriate format for this... +// TODO: remove when https://github.com/proptest-rs/proptest/pull/427 is merged +#![allow(unknown_lints, non_local_definitions)] + pub mod codecs; pub mod models;