From f7e6ae326fc2b5356b5be834aeb68fa4550eaad0 Mon Sep 17 00:00:00 2001 From: Thomas Coratger Date: Sun, 14 Jan 2024 15:17:51 +0100 Subject: [PATCH] update clippy commands in CONTRIBUTING.md file --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1f9191be4398..a732d9322f09 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -101,7 +101,8 @@ Please also make sure that the following commands pass if you have changed the c cargo check --all cargo test --all --all-features cargo +nightly fmt -- --check -cargo +nightly clippy --all --all-features -- -D warnings +cargo clippy --bin "reth" --workspace --features "ethereum" --lib --tests --benches --examples -- -D warnings +cargo clippy --bin "op-reth" --workspace --features "optimism" --lib --tests --benches --examples -- -D warnings ``` If you are working in VSCode, we recommend you install the [rust-analyzer](https://rust-analyzer.github.io/) extension,