From 4674bfdcb1a5d52bce5fa7b533e2042dc490a261 Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Thu, 19 Sep 2024 13:22:48 +0200 Subject: [PATCH] fix(lint): lint warnings trie tests (#11012) --- crates/trie/db/tests/fuzz_in_memory_nodes.rs | 2 ++ crates/trie/db/tests/post_state.rs | 2 ++ crates/trie/db/tests/proof.rs | 2 ++ crates/trie/db/tests/trie.rs | 2 ++ crates/trie/db/tests/walker.rs | 2 ++ 5 files changed, 10 insertions(+) diff --git a/crates/trie/db/tests/fuzz_in_memory_nodes.rs b/crates/trie/db/tests/fuzz_in_memory_nodes.rs index c0bea366b9..e293b0caaf 100644 --- a/crates/trie/db/tests/fuzz_in_memory_nodes.rs +++ b/crates/trie/db/tests/fuzz_in_memory_nodes.rs @@ -1,3 +1,5 @@ +#![allow(missing_docs)] + use alloy_primitives::{B256, U256}; use proptest::prelude::*; use reth_db::{ diff --git a/crates/trie/db/tests/post_state.rs b/crates/trie/db/tests/post_state.rs index be022b2dae..ceadf7cde5 100644 --- a/crates/trie/db/tests/post_state.rs +++ b/crates/trie/db/tests/post_state.rs @@ -1,3 +1,5 @@ +#![allow(missing_docs)] + use alloy_primitives::{B256, U256}; use proptest::prelude::*; use proptest_arbitrary_interop::arb; diff --git a/crates/trie/db/tests/proof.rs b/crates/trie/db/tests/proof.rs index 8a31512a79..33a19de380 100644 --- a/crates/trie/db/tests/proof.rs +++ b/crates/trie/db/tests/proof.rs @@ -1,3 +1,5 @@ +#![allow(missing_docs)] + use alloy_primitives::{keccak256, Address, Bytes, B256, U256}; use reth_chainspec::{Chain, ChainSpec, HOLESKY, MAINNET}; use reth_primitives::{constants::EMPTY_ROOT_HASH, Account}; diff --git a/crates/trie/db/tests/trie.rs b/crates/trie/db/tests/trie.rs index a6983dc4ed..acbcb119ca 100644 --- a/crates/trie/db/tests/trie.rs +++ b/crates/trie/db/tests/trie.rs @@ -1,3 +1,5 @@ +#![allow(missing_docs)] + use alloy_primitives::{keccak256, Address, B256, U256}; use proptest::{prelude::ProptestConfig, proptest}; use proptest_arbitrary_interop::arb; diff --git a/crates/trie/db/tests/walker.rs b/crates/trie/db/tests/walker.rs index f018d7f1ad..dd4bcd6da8 100644 --- a/crates/trie/db/tests/walker.rs +++ b/crates/trie/db/tests/walker.rs @@ -1,3 +1,5 @@ +#![allow(missing_docs)] + use alloy_primitives::B256; use reth_db::tables; use reth_db_api::{cursor::DbCursorRW, transaction::DbTxMut};