mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: run clippy on all targets (#5636)
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
with:
|
||||
cache-on-failure: true
|
||||
- run:
|
||||
cargo clippy --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }}"
|
||||
cargo clippy --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }}" --lib --tests --benches --examples
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
|
||||
|
||||
@ -1,12 +1,11 @@
|
||||
use reth_db::open_db_read_only;
|
||||
use reth_primitives::{Address, ChainSpecBuilder, B256, U256};
|
||||
use reth_primitives::{Address, ChainSpecBuilder, B256};
|
||||
use reth_provider::{
|
||||
AccountReader, BlockReader, BlockSource, HeaderProvider, ProviderFactory, ReceiptProvider,
|
||||
StateProvider, TransactionsProvider,
|
||||
};
|
||||
use reth_rpc_types::{Filter, FilteredParams};
|
||||
use reth_rpc_types_compat::log::from_primitive_log;
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
// Providers are zero cost abstractions on top of an opened MDBX Transaction
|
||||
|
||||
Reference in New Issue
Block a user