From a77ce1d7f37bd54b3230ac175b28135d21e2171f Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Wed, 6 Mar 2024 20:57:53 +0100 Subject: [PATCH] chore: clippy (#251) --- crates/eips/src/eip2930.rs | 2 ++ crates/rpc-types/src/eth/block.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/crates/eips/src/eip2930.rs b/crates/eips/src/eip2930.rs index 2f7b7af8e96..4ca18c51f8b 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)] + use alloy_primitives::{Address, B256, U256}; use alloy_rlp::{RlpDecodable, RlpDecodableWrapper, RlpEncodable, RlpEncodableWrapper}; use std::mem; diff --git a/crates/rpc-types/src/eth/block.rs b/crates/rpc-types/src/eth/block.rs index c7c6e694862..9ff7ff8a9c8 100644 --- a/crates/rpc-types/src/eth/block.rs +++ b/crates/rpc-types/src/eth/block.rs @@ -1,5 +1,7 @@ //! Block RPC types. +#![allow(unknown_lints, non_local_definitions)] + use crate::{other::OtherFields, Transaction, Withdrawal}; use alloy_primitives::{ ruint::ParseError, Address, BlockHash, BlockNumber, Bloom, Bytes, B256, B64, U256, U64,