Skip to content

Commit

Permalink
Merge branch 'emhane/sanitise-eth68-announcement' of github.com:parad…
Browse files Browse the repository at this point in the history
…igmxyz/reth into emhane/sanitise-eth68-announcement
  • Loading branch information
emhane committed Jan 29, 2024
2 parents 1211546 + 63b2649 commit 3766e4d
Show file tree
Hide file tree
Showing 127 changed files with 2,873 additions and 2,111 deletions.
120 changes: 63 additions & 57 deletions Cargo.lock

Large diffs are not rendered by default.

63 changes: 56 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -248,30 +248,79 @@ fmt:
cargo +nightly fmt

lint-reth:
cargo +nightly clippy --workspace --bin "reth" --lib --examples --tests --benches --features "ethereum $(BIN_OTHER_FEATURES)" -- -D warnings
cargo +nightly clippy \
--workspace \
--bin "reth" \
--lib \
--examples \
--tests \
--benches \
--features "ethereum $(BIN_OTHER_FEATURES)" \
-- -D warnings

lint-op-reth:
cargo +nightly clippy --workspace --bin "op-reth" --lib --examples --tests --benches --features "optimism $(BIN_OTHER_FEATURES)" -- -D warnings
cargo +nightly clippy \
--workspace \
--bin "op-reth" \
--lib \
--examples \
--tests \
--benches \
--features "optimism $(BIN_OTHER_FEATURES)" \
-- -D warnings

lint-other-targets:
cargo +nightly clippy --workspace --lib --examples --tests --benches --all-features -- -D warnings
cargo +nightly clippy \
--workspace \
--lib \
--examples \
--tests \
--benches \
--all-features \
-- -D warnings

lint:
make fmt && \
make lint-reth && \
make lint-op-reth && \
make lint-other-targets

rustdocs:
RUSTDOCFLAGS="--cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page -Zunstable-options -D warnings" cargo +nightly docs --document-private-items
RUSTDOCFLAGS="\
--cfg docsrs \
--show-type-layout \
--generate-link-to-definition \
--enable-index-page -Zunstable-options -D warnings" \
cargo +nightly docs \
--document-private-items

test-reth:
cargo test --workspace --bin "reth" --lib --examples --tests --benches --features "ethereum $(BIN_OTHER_FEATURES)"
cargo test \
--workspace \
--bin "reth" \
--lib \
--examples \
--tests \
--benches \
--features "ethereum $(BIN_OTHER_FEATURES)"

test-op-reth:
cargo test --workspace --bin "op-reth" --lib --examples --tests --benches --features "optimism $(BIN_OTHER_FEATURES)"
cargo test \
--workspace \
--bin "op-reth" \
--lib --examples \
--tests \
--benches \
--features "optimism $(BIN_OTHER_FEATURES)"

test-other-targets:
cargo test --workspace --lib --examples --tests --benches --all-features
cargo test \
--workspace \
--lib \
--examples \
--tests \
--benches \
--all-features

test:
make test-reth && \
Expand Down
1 change: 1 addition & 0 deletions bin/reth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ hyper = "0.14.25"
# misc
aquamarine.workspace = true
eyre.workspace = true
thiserror.workspace = true
clap = { workspace = true, features = ["derive"] }
tempfile.workspace = true
backon = "0.4"
Expand Down
Loading

0 comments on commit 3766e4d

Please sign in to comment.