mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 02:49:55 +00:00
add format checker to .toml (#13968)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
11
.github/workflows/lint.yml
vendored
11
.github/workflows/lint.yml
vendored
@ -210,6 +210,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
skip: "*.json"
|
skip: "*.json"
|
||||||
|
|
||||||
|
check-toml:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 30
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Run dprint
|
||||||
|
uses: dprint/check@v2.2
|
||||||
|
with:
|
||||||
|
config-path: dprint.json
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
|||||||
34
Cargo.toml
34
Cargo.toml
@ -429,9 +429,7 @@ revm-inspectors = "0.14.1"
|
|||||||
alloy-chains = { version = "0.1.32", default-features = false }
|
alloy-chains = { version = "0.1.32", default-features = false }
|
||||||
alloy-dyn-abi = "0.8.15"
|
alloy-dyn-abi = "0.8.15"
|
||||||
alloy-eip2124 = { version = "0.1.0", default-features = false }
|
alloy-eip2124 = { version = "0.1.0", default-features = false }
|
||||||
alloy-primitives = { version = "0.8.15", default-features = false, features = [
|
alloy-primitives = { version = "0.8.15", default-features = false, features = ["map-foldhash"] }
|
||||||
"map-foldhash",
|
|
||||||
] }
|
|
||||||
alloy-rlp = { version = "0.3.10", default-features = false }
|
alloy-rlp = { version = "0.3.10", default-features = false }
|
||||||
alloy-sol-types = "0.8.15"
|
alloy-sol-types = "0.8.15"
|
||||||
alloy-trie = { version = "0.7", default-features = false }
|
alloy-trie = { version = "0.7", default-features = false }
|
||||||
@ -444,14 +442,10 @@ alloy-json-rpc = { version = "0.9.2", default-features = false }
|
|||||||
alloy-network = { version = "0.9.2", default-features = false }
|
alloy-network = { version = "0.9.2", default-features = false }
|
||||||
alloy-network-primitives = { version = "0.9.2", default-features = false }
|
alloy-network-primitives = { version = "0.9.2", default-features = false }
|
||||||
alloy-node-bindings = { version = "0.9.2", default-features = false }
|
alloy-node-bindings = { version = "0.9.2", default-features = false }
|
||||||
alloy-provider = { version = "0.9.2", features = [
|
alloy-provider = { version = "0.9.2", features = ["reqwest"], default-features = false }
|
||||||
"reqwest",
|
|
||||||
], default-features = false }
|
|
||||||
alloy-pubsub = { version = "0.9.2", default-features = false }
|
alloy-pubsub = { version = "0.9.2", default-features = false }
|
||||||
alloy-rpc-client = { version = "0.9.2", default-features = false }
|
alloy-rpc-client = { version = "0.9.2", default-features = false }
|
||||||
alloy-rpc-types = { version = "0.9.2", features = [
|
alloy-rpc-types = { version = "0.9.2", features = ["eth"], default-features = false }
|
||||||
"eth",
|
|
||||||
], default-features = false }
|
|
||||||
alloy-rpc-types-admin = { version = "0.9.2", default-features = false }
|
alloy-rpc-types-admin = { version = "0.9.2", default-features = false }
|
||||||
alloy-rpc-types-anvil = { version = "0.9.2", default-features = false }
|
alloy-rpc-types-anvil = { version = "0.9.2", default-features = false }
|
||||||
alloy-rpc-types-beacon = { version = "0.9.2", default-features = false }
|
alloy-rpc-types-beacon = { version = "0.9.2", default-features = false }
|
||||||
@ -465,9 +459,7 @@ alloy-serde = { version = "0.9.2", default-features = false }
|
|||||||
alloy-signer = { version = "0.9.2", default-features = false }
|
alloy-signer = { version = "0.9.2", default-features = false }
|
||||||
alloy-signer-local = { version = "0.9.2", default-features = false }
|
alloy-signer-local = { version = "0.9.2", default-features = false }
|
||||||
alloy-transport = { version = "0.9.2" }
|
alloy-transport = { version = "0.9.2" }
|
||||||
alloy-transport-http = { version = "0.9.2", features = [
|
alloy-transport-http = { version = "0.9.2", features = ["reqwest-rustls-tls"], default-features = false }
|
||||||
"reqwest-rustls-tls",
|
|
||||||
], default-features = false }
|
|
||||||
alloy-transport-ipc = { version = "0.9.2", default-features = false }
|
alloy-transport-ipc = { version = "0.9.2", default-features = false }
|
||||||
alloy-transport-ws = { version = "0.9.2", default-features = false }
|
alloy-transport-ws = { version = "0.9.2", default-features = false }
|
||||||
|
|
||||||
@ -482,10 +474,7 @@ op-alloy-rpc-jsonrpsee = { version = "0.9.6", default-features = false }
|
|||||||
# misc
|
# misc
|
||||||
aquamarine = "0.6"
|
aquamarine = "0.6"
|
||||||
auto_impl = "1"
|
auto_impl = "1"
|
||||||
backon = { version = "1.2", default-features = false, features = [
|
backon = { version = "1.2", default-features = false, features = ["std-blocking-sleep", "tokio-sleep"] }
|
||||||
"std-blocking-sleep",
|
|
||||||
"tokio-sleep",
|
|
||||||
] }
|
|
||||||
bincode = "1.3"
|
bincode = "1.3"
|
||||||
bitflags = "2.4"
|
bitflags = "2.4"
|
||||||
blake3 = "1.5.5"
|
blake3 = "1.5.5"
|
||||||
@ -504,13 +493,9 @@ humantime-serde = "1.1"
|
|||||||
itertools = { version = "0.13", default-features = false }
|
itertools = { version = "0.13", default-features = false }
|
||||||
linked_hash_set = "0.1"
|
linked_hash_set = "0.1"
|
||||||
modular-bitfield = "0.11.2"
|
modular-bitfield = "0.11.2"
|
||||||
notify = { version = "6.1.1", default-features = false, features = [
|
notify = { version = "6.1.1", default-features = false, features = ["macos_fsevent"] }
|
||||||
"macos_fsevent",
|
|
||||||
] }
|
|
||||||
nybbles = { version = "0.3.0", default-features = false }
|
nybbles = { version = "0.3.0", default-features = false }
|
||||||
once_cell = { version = "1.19", default-features = false, features = [
|
once_cell = { version = "1.19", default-features = false, features = ["critical-section"] }
|
||||||
"critical-section",
|
|
||||||
] }
|
|
||||||
parking_lot = "0.12"
|
parking_lot = "0.12"
|
||||||
paste = "1.0"
|
paste = "1.0"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
@ -584,10 +569,7 @@ proptest-arbitrary-interop = "0.1.0"
|
|||||||
# crypto
|
# crypto
|
||||||
enr = { version = "0.12.1", default-features = false }
|
enr = { version = "0.12.1", default-features = false }
|
||||||
k256 = { version = "0.13", default-features = false, features = ["ecdsa"] }
|
k256 = { version = "0.13", default-features = false, features = ["ecdsa"] }
|
||||||
secp256k1 = { version = "0.29", default-features = false, features = [
|
secp256k1 = { version = "0.29", default-features = false, features = ["global-context", "recovery"] }
|
||||||
"global-context",
|
|
||||||
"recovery",
|
|
||||||
] }
|
|
||||||
|
|
||||||
# for eip-4844
|
# for eip-4844
|
||||||
c-kzg = "1.0.0"
|
c-kzg = "1.0.0"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
[build]
|
[build]
|
||||||
pre-build = [
|
pre-build = [
|
||||||
# rust-bindgen dependencies: llvm-dev libclang-dev (>= 5.0) clang (>= 5.0)
|
# rust-bindgen dependencies: llvm-dev libclang-dev (>= 5.0) clang (>= 5.0)
|
||||||
"apt-get update && apt-get install --assume-yes --no-install-recommends llvm-dev libclang-6.0-dev clang-6.0"
|
"apt-get update && apt-get install --assume-yes --no-install-recommends llvm-dev libclang-6.0-dev clang-6.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[build.env]
|
[build.env]
|
||||||
|
|||||||
22
Makefile
22
Makefile
@ -415,12 +415,32 @@ ensure-codespell:
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Lint and format all TOML files in the project using dprint.
|
||||||
|
# This target ensures that TOML files follow consistent formatting rules,
|
||||||
|
# such as using spaces instead of tabs, and enforces other style guidelines
|
||||||
|
# defined in the dprint configuration file (e.g., dprint.json).
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
# make lint-toml
|
||||||
|
#
|
||||||
|
# Dependencies:
|
||||||
|
# - ensure-dprint: Ensures that dprint is installed and available in the system.
|
||||||
|
lint-toml: ensure-dprint
|
||||||
|
dprint fmt
|
||||||
|
|
||||||
|
ensure-dprint:
|
||||||
|
@if ! command -v dprint &> /dev/null; then \
|
||||||
|
echo "dprint not found. Please install it by running the command `cargo install --locked dprint` or refer to the following link for more information: https://github.com/dprint/dprint" \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
make fmt && \
|
make fmt && \
|
||||||
make lint-reth && \
|
make lint-reth && \
|
||||||
make lint-op-reth && \
|
make lint-op-reth && \
|
||||||
make lint-other-targets && \
|
make lint-other-targets && \
|
||||||
make lint-codespell
|
make lint-codespell && \
|
||||||
|
make lint-toml
|
||||||
|
|
||||||
fix-lint-reth:
|
fix-lint-reth:
|
||||||
cargo +nightly clippy \
|
cargo +nightly clippy \
|
||||||
|
|||||||
@ -24,10 +24,7 @@ reth-primitives-traits.workspace = true
|
|||||||
reth-tracing.workspace = true
|
reth-tracing.workspace = true
|
||||||
|
|
||||||
# alloy
|
# alloy
|
||||||
alloy-provider = { workspace = true, features = [
|
alloy-provider = { workspace = true, features = ["engine-api", "reqwest-rustls-tls"], default-features = false }
|
||||||
"engine-api",
|
|
||||||
"reqwest-rustls-tls",
|
|
||||||
], default-features = false }
|
|
||||||
alloy-rpc-types-engine.workspace = true
|
alloy-rpc-types-engine.workspace = true
|
||||||
alloy-transport.workspace = true
|
alloy-transport.workspace = true
|
||||||
alloy-transport-http.workspace = true
|
alloy-transport-http.workspace = true
|
||||||
@ -40,9 +37,7 @@ alloy-eips.workspace = true
|
|||||||
alloy-primitives.workspace = true
|
alloy-primitives.workspace = true
|
||||||
|
|
||||||
# reqwest
|
# reqwest
|
||||||
reqwest = { workspace = true, default-features = false, features = [
|
reqwest = { workspace = true, default-features = false, features = ["rustls-tls-native-roots"] }
|
||||||
"rustls-tls-native-roots",
|
|
||||||
] }
|
|
||||||
|
|
||||||
# tower
|
# tower
|
||||||
tower.workspace = true
|
tower.workspace = true
|
||||||
@ -54,12 +49,7 @@ tracing.workspace = true
|
|||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
|
|
||||||
# async
|
# async
|
||||||
tokio = { workspace = true, features = [
|
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
|
||||||
"sync",
|
|
||||||
"macros",
|
|
||||||
"time",
|
|
||||||
"rt-multi-thread",
|
|
||||||
] }
|
|
||||||
futures.workspace = true
|
futures.workspace = true
|
||||||
async-trait.workspace = true
|
async-trait.workspace = true
|
||||||
|
|
||||||
@ -78,14 +68,14 @@ reth-tracing.workspace = true
|
|||||||
default = ["jemalloc"]
|
default = ["jemalloc"]
|
||||||
|
|
||||||
asm-keccak = [
|
asm-keccak = [
|
||||||
"reth-primitives/asm-keccak",
|
"reth-primitives/asm-keccak",
|
||||||
"reth-node-core/asm-keccak",
|
"reth-node-core/asm-keccak",
|
||||||
"alloy-primitives/asm-keccak"
|
"alloy-primitives/asm-keccak",
|
||||||
]
|
]
|
||||||
|
|
||||||
jemalloc = [
|
jemalloc = [
|
||||||
"reth-cli-util/jemalloc",
|
"reth-cli-util/jemalloc",
|
||||||
"reth-node-core/jemalloc"
|
"reth-node-core/jemalloc",
|
||||||
]
|
]
|
||||||
jemalloc-prof = ["reth-cli-util/jemalloc-prof"]
|
jemalloc-prof = ["reth-cli-util/jemalloc-prof"]
|
||||||
tracy-allocator = ["reth-cli-util/tracy-allocator"]
|
tracy-allocator = ["reth-cli-util/tracy-allocator"]
|
||||||
|
|||||||
@ -78,12 +78,7 @@ tracing.workspace = true
|
|||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
|
|
||||||
# async
|
# async
|
||||||
tokio = { workspace = true, features = [
|
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
|
||||||
"sync",
|
|
||||||
"macros",
|
|
||||||
"time",
|
|
||||||
"rt-multi-thread",
|
|
||||||
] }
|
|
||||||
futures.workspace = true
|
futures.workspace = true
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
@ -102,9 +97,9 @@ default = ["jemalloc"]
|
|||||||
dev = ["reth-cli-commands/arbitrary"]
|
dev = ["reth-cli-commands/arbitrary"]
|
||||||
|
|
||||||
asm-keccak = [
|
asm-keccak = [
|
||||||
"reth-node-core/asm-keccak",
|
"reth-node-core/asm-keccak",
|
||||||
"reth-primitives/asm-keccak",
|
"reth-primitives/asm-keccak",
|
||||||
"alloy-primitives/asm-keccak"
|
"alloy-primitives/asm-keccak",
|
||||||
]
|
]
|
||||||
|
|
||||||
jemalloc = [
|
jemalloc = [
|
||||||
@ -113,8 +108,8 @@ jemalloc = [
|
|||||||
"reth-node-metrics/jemalloc",
|
"reth-node-metrics/jemalloc",
|
||||||
]
|
]
|
||||||
jemalloc-prof = [
|
jemalloc-prof = [
|
||||||
"reth-cli-util/jemalloc",
|
"reth-cli-util/jemalloc",
|
||||||
"reth-cli-util/jemalloc-prof"
|
"reth-cli-util/jemalloc-prof",
|
||||||
]
|
]
|
||||||
tracy-allocator = ["reth-cli-util/tracy-allocator"]
|
tracy-allocator = ["reth-cli-util/tracy-allocator"]
|
||||||
|
|
||||||
|
|||||||
@ -4,10 +4,10 @@ version = "0.1.0"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reth = { git = "https://github.com/paradigmxyz/reth.git" } # Reth
|
reth = { git = "https://github.com/paradigmxyz/reth.git" } # Reth
|
||||||
reth-exex = { git = "https://github.com/paradigmxyz/reth.git" } # Execution Extensions
|
reth-exex = { git = "https://github.com/paradigmxyz/reth.git" } # Execution Extensions
|
||||||
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" } # Ethereum Node implementation
|
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" } # Ethereum Node implementation
|
||||||
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" } # Logging
|
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" } # Logging
|
||||||
|
|
||||||
eyre = "0.6" # Easy error handling
|
eyre = "0.6" # Easy error handling
|
||||||
futures-util = "0.3" # Stream utilities for consuming notifications
|
futures-util = "0.3" # Stream utilities for consuming notifications
|
||||||
|
|||||||
@ -6,9 +6,7 @@ edition = "2021"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
# reth
|
# reth
|
||||||
reth = { git = "https://github.com/paradigmxyz/reth.git" }
|
reth = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||||
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = [
|
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = ["serde"] }
|
||||||
"serde",
|
|
||||||
] }
|
|
||||||
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" }
|
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||||
reth-node-api = { git = "https://github.com/paradigmxyz/reth.git" }
|
reth-node-api = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||||
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" }
|
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||||
|
|||||||
@ -5,12 +5,10 @@ edition = "2021"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reth = { git = "https://github.com/paradigmxyz/reth.git" }
|
reth = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||||
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = [
|
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = ["serde"] }
|
||||||
"serde",
|
|
||||||
] }
|
|
||||||
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" }
|
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||||
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" }
|
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||||
|
|
||||||
eyre = "0.6" # Easy error handling
|
eyre = "0.6" # Easy error handling
|
||||||
futures-util = "0.3" # Stream utilities for consuming notifications
|
futures-util = "0.3" # Stream utilities for consuming notifications
|
||||||
alloy-primitives = "0.8.7"
|
alloy-primitives = "0.8.7"
|
||||||
|
|||||||
@ -39,28 +39,28 @@ alloy-genesis.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-chains/std",
|
"alloy-chains/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-genesis/std",
|
"alloy-genesis/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-trie/std",
|
"alloy-trie/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"reth-ethereum-forks/std",
|
"reth-ethereum-forks/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"reth-network-peers/std",
|
"reth-network-peers/std",
|
||||||
"serde_json/std"
|
"serde_json/std",
|
||||||
]
|
]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"alloy-chains/arbitrary",
|
"alloy-chains/arbitrary",
|
||||||
"reth-ethereum-forks/arbitrary",
|
"reth-ethereum-forks/arbitrary",
|
||||||
"reth-primitives-traits/arbitrary",
|
"reth-primitives-traits/arbitrary",
|
||||||
"alloy-consensus/arbitrary",
|
"alloy-consensus/arbitrary",
|
||||||
"alloy-eips/arbitrary",
|
"alloy-eips/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"alloy-trie/arbitrary"
|
"alloy-trie/arbitrary",
|
||||||
]
|
]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"reth-primitives-traits/test-utils",
|
"reth-primitives-traits/test-utils",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -10,7 +10,6 @@ repository.workspace = true
|
|||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# reth
|
# reth
|
||||||
reth-cli-runner.workspace = true
|
reth-cli-runner.workspace = true
|
||||||
@ -22,6 +21,3 @@ clap.workspace = true
|
|||||||
shellexpand.workspace = true
|
shellexpand.workspace = true
|
||||||
eyre.workspace = true
|
eyre.workspace = true
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -68,11 +68,7 @@ serde.workspace = true
|
|||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
tracing.workspace = true
|
tracing.workspace = true
|
||||||
backon.workspace = true
|
backon.workspace = true
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||||
"global-context",
|
|
||||||
"rand-std",
|
|
||||||
"recovery",
|
|
||||||
] }
|
|
||||||
|
|
||||||
# io
|
# io
|
||||||
fdlimit.workspace = true
|
fdlimit.workspace = true
|
||||||
@ -81,9 +77,7 @@ toml = { workspace = true, features = ["display"] }
|
|||||||
# tui
|
# tui
|
||||||
comfy-table = "7.0"
|
comfy-table = "7.0"
|
||||||
crossterm = "0.28.0"
|
crossterm = "0.28.0"
|
||||||
ratatui = { version = "0.28", default-features = false, features = [
|
ratatui = { version = "0.28", default-features = false, features = ["crossterm"] }
|
||||||
"crossterm",
|
|
||||||
] }
|
|
||||||
|
|
||||||
# reth test-vectors
|
# reth test-vectors
|
||||||
proptest = { workspace = true, optional = true }
|
proptest = { workspace = true, optional = true }
|
||||||
|
|||||||
@ -29,11 +29,11 @@ rand.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"reth-chainspec/std",
|
"reth-chainspec/std",
|
||||||
"reth-consensus/std",
|
"reth-consensus/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"reth-primitives/std"
|
"reth-primitives/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -27,15 +27,15 @@ derive_more.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"reth-primitives/std",
|
"reth-primitives/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"derive_more/std"
|
"derive_more/std",
|
||||||
]
|
]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"reth-primitives/test-utils",
|
"reth-primitives/test-utils",
|
||||||
"reth-primitives-traits/test-utils"
|
"reth-primitives-traits/test-utils",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -34,7 +34,7 @@ reth-engine-local.workspace = true
|
|||||||
reth-tasks.workspace = true
|
reth-tasks.workspace = true
|
||||||
|
|
||||||
# currently need to enable this for workspace level
|
# currently need to enable this for workspace level
|
||||||
reth-optimism-primitives = { workspace = true, features = ["arbitrary", "serde"] }
|
reth-optimism-primitives = { workspace = true, features = ["arbitrary", "serde"] }
|
||||||
|
|
||||||
# rpc
|
# rpc
|
||||||
jsonrpsee.workspace = true
|
jsonrpsee.workspace = true
|
||||||
|
|||||||
@ -47,5 +47,5 @@ workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
op = [
|
op = [
|
||||||
"dep:op-alloy-rpc-types-engine"
|
"dep:op-alloy-rpc-types-engine",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -37,14 +37,14 @@ thiserror.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"reth-execution-types/std",
|
"reth-execution-types/std",
|
||||||
"reth-primitives/std",
|
"reth-primitives/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-rpc-types-engine/std",
|
"alloy-rpc-types-engine/std",
|
||||||
"futures/std",
|
"futures/std",
|
||||||
"serde/std",
|
"serde/std",
|
||||||
"thiserror/std",
|
"thiserror/std",
|
||||||
"alloy-eips/std"
|
"alloy-eips/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -103,25 +103,25 @@ harness = false
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"reth-chain-state/test-utils",
|
"reth-chain-state/test-utils",
|
||||||
"reth-chainspec/test-utils",
|
"reth-chainspec/test-utils",
|
||||||
"reth-consensus/test-utils",
|
"reth-consensus/test-utils",
|
||||||
"reth-db/test-utils",
|
"reth-db/test-utils",
|
||||||
"reth-evm/test-utils",
|
"reth-evm/test-utils",
|
||||||
"reth-network-p2p/test-utils",
|
"reth-network-p2p/test-utils",
|
||||||
"reth-payload-builder/test-utils",
|
"reth-payload-builder/test-utils",
|
||||||
"reth-primitives-traits/test-utils",
|
"reth-primitives-traits/test-utils",
|
||||||
"reth-provider/test-utils",
|
"reth-provider/test-utils",
|
||||||
"reth-prune-types",
|
"reth-prune-types",
|
||||||
"reth-prune-types?/test-utils",
|
"reth-prune-types?/test-utils",
|
||||||
"reth-revm/test-utils",
|
"reth-revm/test-utils",
|
||||||
"reth-stages-api/test-utils",
|
"reth-stages-api/test-utils",
|
||||||
"reth-stages/test-utils",
|
"reth-stages/test-utils",
|
||||||
"reth-static-file",
|
"reth-static-file",
|
||||||
"reth-tracing",
|
"reth-tracing",
|
||||||
"reth-trie/test-utils",
|
"reth-trie/test-utils",
|
||||||
"reth-trie-sparse/test-utils",
|
"reth-trie-sparse/test-utils",
|
||||||
"reth-prune-types?/test-utils",
|
"reth-prune-types?/test-utils",
|
||||||
"reth-trie-db/test-utils",
|
"reth-trie-db/test-utils",
|
||||||
"reth-trie-parallel/test-utils"
|
"reth-trie-parallel/test-utils",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -33,23 +33,23 @@ arbitrary = { workspace = true, features = ["derive"] }
|
|||||||
[features]
|
[features]
|
||||||
default = ["std", "serde", "rustc-hash"]
|
default = ["std", "serde", "rustc-hash"]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
"alloy-chains/arbitrary",
|
"alloy-chains/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"alloy-eip2124/arbitrary"
|
"alloy-eip2124/arbitrary",
|
||||||
]
|
]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"alloy-chains/serde",
|
"alloy-chains/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"alloy-eip2124/serde"
|
"alloy-eip2124/serde",
|
||||||
]
|
]
|
||||||
std = [
|
std = [
|
||||||
"alloy-chains/std",
|
"alloy-chains/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"rustc-hash/std",
|
"rustc-hash/std",
|
||||||
"serde?/std",
|
"serde?/std",
|
||||||
"alloy-eip2124/std",
|
"alloy-eip2124/std",
|
||||||
"once_cell/std"
|
"once_cell/std",
|
||||||
]
|
]
|
||||||
rustc-hash = ["dep:rustc-hash"]
|
rustc-hash = ["dep:rustc-hash"]
|
||||||
|
|||||||
@ -35,14 +35,14 @@ serde_json.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"reth-chainspec/std",
|
"reth-chainspec/std",
|
||||||
"reth-primitives/std",
|
"reth-primitives/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-rpc-types-engine/std",
|
"alloy-rpc-types-engine/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"serde/std",
|
"serde/std",
|
||||||
"sha2/std",
|
"sha2/std",
|
||||||
"serde_json/std",
|
"serde_json/std",
|
||||||
"reth-engine-primitives/std"
|
"reth-engine-primitives/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -46,18 +46,18 @@ alloy-genesis.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"reth-consensus/std",
|
"reth-consensus/std",
|
||||||
"reth-primitives/std",
|
"reth-primitives/std",
|
||||||
"reth-revm/std",
|
"reth-revm/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-genesis/std",
|
"alloy-genesis/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"revm-primitives/std",
|
"revm-primitives/std",
|
||||||
"secp256k1/std",
|
"secp256k1/std",
|
||||||
"reth-ethereum-forks/std",
|
"reth-ethereum-forks/std",
|
||||||
"serde_json/std",
|
"serde_json/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"reth-chainspec/std",
|
"reth-chainspec/std",
|
||||||
"derive_more/std"
|
"derive_more/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -68,7 +68,7 @@ rand.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
js-tracer = [
|
js-tracer = [
|
||||||
"reth-node-builder/js-tracer"
|
"reth-node-builder/js-tracer",
|
||||||
]
|
]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"reth-node-builder/test-utils",
|
"reth-node-builder/test-utils",
|
||||||
|
|||||||
@ -53,18 +53,18 @@ alloy-consensus = { workspace = true, features = ["serde", "arbitrary"] }
|
|||||||
default = ["std"]
|
default = ["std"]
|
||||||
alloy-compat = ["dep:alloy-network", "dep:alloy-serde", "dep:alloy-rpc-types"]
|
alloy-compat = ["dep:alloy-network", "dep:alloy-serde", "dep:alloy-rpc-types"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"reth-zstd-compressors?/std",
|
"reth-zstd-compressors?/std",
|
||||||
"serde/std",
|
"serde/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"secp256k1?/std",
|
"secp256k1?/std",
|
||||||
"once_cell/std",
|
"once_cell/std",
|
||||||
"revm-primitives/std",
|
"revm-primitives/std",
|
||||||
"alloy-serde?/std"
|
"alloy-serde?/std",
|
||||||
]
|
]
|
||||||
reth-codec = [
|
reth-codec = [
|
||||||
"std",
|
"std",
|
||||||
@ -73,20 +73,20 @@ reth-codec = [
|
|||||||
"dep:reth-zstd-compressors",
|
"dep:reth-zstd-compressors",
|
||||||
]
|
]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
"dep:rand",
|
"dep:rand",
|
||||||
"dep:secp256k1",
|
"dep:secp256k1",
|
||||||
"alloy-consensus/arbitrary",
|
"alloy-consensus/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"reth-codecs?/arbitrary",
|
"reth-codecs?/arbitrary",
|
||||||
"reth-primitives-traits/arbitrary",
|
"reth-primitives-traits/arbitrary",
|
||||||
"alloy-eips/arbitrary",
|
"alloy-eips/arbitrary",
|
||||||
"revm-primitives/arbitrary",
|
"revm-primitives/arbitrary",
|
||||||
"alloy-rpc-types?/arbitrary",
|
"alloy-rpc-types?/arbitrary",
|
||||||
"alloy-serde?/arbitrary"
|
"alloy-serde?/arbitrary",
|
||||||
]
|
]
|
||||||
serde-bincode-compat = [
|
serde-bincode-compat = [
|
||||||
"alloy-consensus/serde-bincode-compat",
|
"alloy-consensus/serde-bincode-compat",
|
||||||
"alloy-eips/serde-bincode-compat",
|
"alloy-eips/serde-bincode-compat",
|
||||||
"reth-primitives-traits/serde-bincode-compat"
|
"reth-primitives-traits/serde-bincode-compat",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -46,20 +46,20 @@ metrics-util = { workspace = true, features = ["debugging"] }
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"dep:metrics",
|
"dep:metrics",
|
||||||
"dep:reth-metrics",
|
"dep:reth-metrics",
|
||||||
"reth-consensus/std",
|
"reth-consensus/std",
|
||||||
"reth-primitives/std",
|
"reth-primitives/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"reth-revm/std",
|
"reth-revm/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"revm-primitives/std",
|
"revm-primitives/std",
|
||||||
"revm/std",
|
"revm/std",
|
||||||
"reth-ethereum-forks/std",
|
"reth-ethereum-forks/std",
|
||||||
"reth-chainspec/std",
|
"reth-chainspec/std",
|
||||||
"reth-consensus-common/std"
|
"reth-consensus-common/std",
|
||||||
]
|
]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"dep:parking_lot",
|
"dep:parking_lot",
|
||||||
@ -69,5 +69,5 @@ test-utils = [
|
|||||||
"reth-primitives-traits/test-utils",
|
"reth-primitives-traits/test-utils",
|
||||||
"reth-revm/test-utils",
|
"reth-revm/test-utils",
|
||||||
"revm/test-utils",
|
"revm/test-utils",
|
||||||
"reth-prune-types/test-utils"
|
"reth-prune-types/test-utils",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -27,11 +27,11 @@ thiserror.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"reth-consensus/std",
|
"reth-consensus/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"revm-primitives/std",
|
"revm-primitives/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"thiserror/std",
|
"thiserror/std",
|
||||||
"nybbles/std"
|
"nybbles/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -38,35 +38,35 @@ reth-ethereum-primitives.workspace = true
|
|||||||
default = ["std"]
|
default = ["std"]
|
||||||
optimism = ["revm/optimism"]
|
optimism = ["revm/optimism"]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"rand/serde",
|
"rand/serde",
|
||||||
"revm/serde",
|
"revm/serde",
|
||||||
"alloy-eips/serde",
|
"alloy-eips/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"reth-primitives-traits/serde",
|
"reth-primitives-traits/serde",
|
||||||
"alloy-consensus/serde",
|
"alloy-consensus/serde",
|
||||||
"reth-trie/serde",
|
"reth-trie/serde",
|
||||||
"reth-trie-common?/serde"
|
"reth-trie-common?/serde",
|
||||||
]
|
]
|
||||||
serde-bincode-compat = [
|
serde-bincode-compat = [
|
||||||
"serde",
|
"serde",
|
||||||
"reth-trie-common/serde-bincode-compat",
|
"reth-trie-common/serde-bincode-compat",
|
||||||
"reth-primitives/serde-bincode-compat",
|
"reth-primitives/serde-bincode-compat",
|
||||||
"reth-primitives-traits/serde-bincode-compat",
|
"reth-primitives-traits/serde-bincode-compat",
|
||||||
"serde_with",
|
"serde_with",
|
||||||
"alloy-eips/serde-bincode-compat",
|
"alloy-eips/serde-bincode-compat",
|
||||||
"alloy-consensus/serde-bincode-compat",
|
"alloy-consensus/serde-bincode-compat",
|
||||||
"reth-ethereum-primitives/serde-bincode-compat"
|
"reth-ethereum-primitives/serde-bincode-compat",
|
||||||
]
|
]
|
||||||
std = [
|
std = [
|
||||||
"reth-primitives/std",
|
"reth-primitives/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"revm/std",
|
"revm/std",
|
||||||
"serde?/std",
|
"serde?/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"serde_with?/std",
|
"serde_with?/std",
|
||||||
"reth-trie-common?/std",
|
"reth-trie-common?/std",
|
||||||
"reth-ethereum-primitives/std"
|
"reth-ethereum-primitives/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -17,10 +17,7 @@ reth-chain-state.workspace = true
|
|||||||
reth-chainspec.workspace = true
|
reth-chainspec.workspace = true
|
||||||
reth-config.workspace = true
|
reth-config.workspace = true
|
||||||
reth-evm.workspace = true
|
reth-evm.workspace = true
|
||||||
reth-exex-types = { workspace = true, features = [
|
reth-exex-types = { workspace = true, features = ["serde", "serde-bincode-compat"] }
|
||||||
"serde",
|
|
||||||
"serde-bincode-compat",
|
|
||||||
] }
|
|
||||||
reth-fs-util.workspace = true
|
reth-fs-util.workspace = true
|
||||||
reth-metrics.workspace = true
|
reth-metrics.workspace = true
|
||||||
reth-node-api.workspace = true
|
reth-node-api.workspace = true
|
||||||
@ -70,14 +67,14 @@ tempfile.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
serde = [
|
serde = [
|
||||||
"reth-provider/serde",
|
"reth-provider/serde",
|
||||||
"reth-exex-types/serde",
|
"reth-exex-types/serde",
|
||||||
"reth-revm/serde",
|
"reth-revm/serde",
|
||||||
"alloy-consensus/serde",
|
"alloy-consensus/serde",
|
||||||
"alloy-eips/serde",
|
"alloy-eips/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"parking_lot/serde",
|
"parking_lot/serde",
|
||||||
"rand/serde",
|
"rand/serde",
|
||||||
"secp256k1/serde",
|
"secp256k1/serde",
|
||||||
"reth-primitives-traits/serde",
|
"reth-primitives-traits/serde",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -36,17 +36,17 @@ rand.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"reth-execution-types/serde",
|
"reth-execution-types/serde",
|
||||||
"alloy-eips/serde",
|
"alloy-eips/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"rand/serde",
|
"rand/serde",
|
||||||
"reth-primitives-traits/serde",
|
"reth-primitives-traits/serde",
|
||||||
]
|
]
|
||||||
serde-bincode-compat = [
|
serde-bincode-compat = [
|
||||||
"reth-execution-types/serde-bincode-compat",
|
"reth-execution-types/serde-bincode-compat",
|
||||||
"serde_with",
|
"serde_with",
|
||||||
"reth-primitives/serde-bincode-compat",
|
"reth-primitives/serde-bincode-compat",
|
||||||
"alloy-eips/serde-bincode-compat",
|
"alloy-eips/serde-bincode-compat",
|
||||||
"reth-primitives-traits/serde-bincode-compat",
|
"reth-primitives-traits/serde-bincode-compat",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -12,7 +12,6 @@ description = "Commonly used fs utils in reth."
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
serde_json = { workspace = true, features = ["std"] }
|
serde_json = { workspace = true, features = ["std"] }
|
||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
|
|||||||
@ -22,12 +22,7 @@ reth-network-peers = { workspace = true, features = ["secp256k1"] }
|
|||||||
alloy-primitives = { workspace = true, features = ["rand"] }
|
alloy-primitives = { workspace = true, features = ["rand"] }
|
||||||
alloy-rlp = { workspace = true, features = ["derive"] }
|
alloy-rlp = { workspace = true, features = ["derive"] }
|
||||||
discv5.workspace = true
|
discv5.workspace = true
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery", "serde"] }
|
||||||
"global-context",
|
|
||||||
"rand-std",
|
|
||||||
"recovery",
|
|
||||||
"serde",
|
|
||||||
] }
|
|
||||||
enr.workspace = true
|
enr.workspace = true
|
||||||
|
|
||||||
# async/futures
|
# async/futures
|
||||||
@ -53,14 +48,14 @@ reth-tracing.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["serde"]
|
default = ["serde"]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"discv5/serde",
|
"discv5/serde",
|
||||||
"enr/serde",
|
"enr/serde",
|
||||||
"generic-array/serde",
|
"generic-array/serde",
|
||||||
"parking_lot/serde",
|
"parking_lot/serde",
|
||||||
"rand?/serde",
|
"rand?/serde",
|
||||||
"secp256k1/serde",
|
"secp256k1/serde",
|
||||||
"reth-ethereum-forks/serde"
|
"reth-ethereum-forks/serde",
|
||||||
]
|
]
|
||||||
test-utils = ["dep:rand"]
|
test-utils = ["dep:rand"]
|
||||||
|
|||||||
@ -49,15 +49,15 @@ rand.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"dep:serde_with",
|
"dep:serde_with",
|
||||||
"alloy-chains/serde",
|
"alloy-chains/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"enr/serde",
|
"enr/serde",
|
||||||
"linked_hash_set/serde",
|
"linked_hash_set/serde",
|
||||||
"parking_lot/serde",
|
"parking_lot/serde",
|
||||||
"rand/serde",
|
"rand/serde",
|
||||||
"secp256k1/serde",
|
"secp256k1/serde",
|
||||||
"hickory-resolver/serde",
|
"hickory-resolver/serde",
|
||||||
"reth-ethereum-forks/serde"
|
"reth-ethereum-forks/serde",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -73,21 +73,21 @@ tempfile.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
optimism = [
|
optimism = [
|
||||||
"reth-db?/optimism",
|
"reth-db?/optimism",
|
||||||
"reth-db-api?/optimism",
|
"reth-db-api?/optimism",
|
||||||
"reth-provider/optimism"
|
"reth-provider/optimism",
|
||||||
]
|
]
|
||||||
|
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"reth-db-api",
|
"reth-db-api",
|
||||||
"reth-db/test-utils",
|
"reth-db/test-utils",
|
||||||
"reth-consensus/test-utils",
|
"reth-consensus/test-utils",
|
||||||
"reth-network-p2p/test-utils",
|
"reth-network-p2p/test-utils",
|
||||||
"reth-testing-utils",
|
"reth-testing-utils",
|
||||||
"reth-chainspec/test-utils",
|
"reth-chainspec/test-utils",
|
||||||
"reth-primitives/test-utils",
|
"reth-primitives/test-utils",
|
||||||
"reth-db-api?/test-utils",
|
"reth-db-api?/test-utils",
|
||||||
"reth-provider/test-utils",
|
"reth-provider/test-utils",
|
||||||
"reth-primitives-traits/test-utils"
|
"reth-primitives-traits/test-utils",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -51,42 +51,42 @@ rand.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-chains/std",
|
"alloy-chains/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-genesis/std",
|
"alloy-genesis/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"bytes/std",
|
"bytes/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"reth-ethereum-forks/std",
|
"reth-ethereum-forks/std",
|
||||||
"reth-ethereum-primitives/std",
|
"reth-ethereum-primitives/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"serde?/std",
|
"serde?/std",
|
||||||
"thiserror/std",
|
"thiserror/std",
|
||||||
"reth-chainspec/std"
|
"reth-chainspec/std",
|
||||||
]
|
]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"reth-ethereum-primitives/arbitrary",
|
"reth-ethereum-primitives/arbitrary",
|
||||||
"alloy-chains/arbitrary",
|
"alloy-chains/arbitrary",
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
"dep:proptest",
|
"dep:proptest",
|
||||||
"dep:proptest-arbitrary-interop",
|
"dep:proptest-arbitrary-interop",
|
||||||
"reth-chainspec/arbitrary",
|
"reth-chainspec/arbitrary",
|
||||||
"alloy-consensus/arbitrary",
|
"alloy-consensus/arbitrary",
|
||||||
"alloy-eips/arbitrary",
|
"alloy-eips/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"reth-primitives-traits/arbitrary",
|
"reth-primitives-traits/arbitrary",
|
||||||
"reth-ethereum-forks/arbitrary"
|
"reth-ethereum-forks/arbitrary",
|
||||||
]
|
]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"alloy-chains/serde",
|
"alloy-chains/serde",
|
||||||
"alloy-consensus/serde",
|
"alloy-consensus/serde",
|
||||||
"alloy-eips/serde",
|
"alloy-eips/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"bytes/serde",
|
"bytes/serde",
|
||||||
"rand/serde",
|
"rand/serde",
|
||||||
"reth-primitives-traits/serde",
|
"reth-primitives-traits/serde",
|
||||||
"reth-ethereum-forks/serde"
|
"reth-ethereum-forks/serde",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -53,11 +53,7 @@ test-fuzz.workspace = true
|
|||||||
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
|
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
|
||||||
tokio-util = { workspace = true, features = ["io", "codec"] }
|
tokio-util = { workspace = true, features = ["io", "codec"] }
|
||||||
rand.workspace = true
|
rand.workspace = true
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||||
"global-context",
|
|
||||||
"rand-std",
|
|
||||||
"recovery",
|
|
||||||
] }
|
|
||||||
|
|
||||||
arbitrary = { workspace = true, features = ["derive"] }
|
arbitrary = { workspace = true, features = ["derive"] }
|
||||||
proptest.workspace = true
|
proptest.workspace = true
|
||||||
@ -68,28 +64,28 @@ alloy-eips.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"reth-eth-wire-types/arbitrary",
|
"reth-eth-wire-types/arbitrary",
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
"alloy-eips/arbitrary",
|
"alloy-eips/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"reth-codecs/arbitrary",
|
"reth-codecs/arbitrary",
|
||||||
"alloy-chains/arbitrary",
|
"alloy-chains/arbitrary",
|
||||||
"reth-primitives-traits/arbitrary",
|
"reth-primitives-traits/arbitrary",
|
||||||
"reth-ethereum-forks/arbitrary",
|
"reth-ethereum-forks/arbitrary",
|
||||||
"reth-primitives/arbitrary"
|
"reth-primitives/arbitrary",
|
||||||
]
|
]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"reth-eth-wire-types/serde",
|
"reth-eth-wire-types/serde",
|
||||||
"alloy-eips/serde",
|
"alloy-eips/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"bytes/serde",
|
"bytes/serde",
|
||||||
"rand/serde",
|
"rand/serde",
|
||||||
"secp256k1/serde",
|
"secp256k1/serde",
|
||||||
"reth-codecs/serde",
|
"reth-codecs/serde",
|
||||||
"alloy-chains/serde",
|
"alloy-chains/serde",
|
||||||
"reth-primitives-traits/serde",
|
"reth-primitives-traits/serde",
|
||||||
"reth-ethereum-forks/serde"
|
"reth-ethereum-forks/serde",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[test]]
|
[[test]]
|
||||||
|
|||||||
@ -41,10 +41,10 @@ derive_more.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["serde"]
|
default = ["serde"]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"reth-eth-wire-types/serde",
|
"reth-eth-wire-types/serde",
|
||||||
"reth-network-types/serde",
|
"reth-network-types/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"enr/serde",
|
"enr/serde",
|
||||||
"reth-ethereum-forks/serde"
|
"reth-ethereum-forks/serde",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -28,8 +28,8 @@ tracing.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"dep:humantime-serde",
|
"dep:humantime-serde",
|
||||||
"alloy-eip2124/serde"
|
"alloy-eip2124/serde",
|
||||||
]
|
]
|
||||||
test-utils = []
|
test-utils = []
|
||||||
|
|||||||
@ -105,37 +105,37 @@ criterion = { workspace = true, features = ["async_tokio", "html_reports"] }
|
|||||||
default = ["serde"]
|
default = ["serde"]
|
||||||
geth-tests = []
|
geth-tests = []
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"secp256k1/serde",
|
"secp256k1/serde",
|
||||||
"enr/serde",
|
"enr/serde",
|
||||||
"reth-network-types/serde",
|
"reth-network-types/serde",
|
||||||
"reth-dns-discovery/serde",
|
"reth-dns-discovery/serde",
|
||||||
"reth-eth-wire/serde",
|
"reth-eth-wire/serde",
|
||||||
"reth-eth-wire-types/serde",
|
"reth-eth-wire-types/serde",
|
||||||
"alloy-consensus/serde",
|
"alloy-consensus/serde",
|
||||||
"alloy-eips/serde",
|
"alloy-eips/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"discv5/serde",
|
"discv5/serde",
|
||||||
"parking_lot/serde",
|
"parking_lot/serde",
|
||||||
"rand/serde",
|
"rand/serde",
|
||||||
"smallvec/serde",
|
"smallvec/serde",
|
||||||
"url/serde",
|
"url/serde",
|
||||||
"reth-primitives-traits/serde",
|
"reth-primitives-traits/serde",
|
||||||
"reth-ethereum-forks/serde",
|
"reth-ethereum-forks/serde",
|
||||||
"reth-provider/serde"
|
"reth-provider/serde",
|
||||||
]
|
]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"dep:tempfile",
|
"dep:tempfile",
|
||||||
"reth-transaction-pool/test-utils",
|
"reth-transaction-pool/test-utils",
|
||||||
"reth-network-types/test-utils",
|
"reth-network-types/test-utils",
|
||||||
"reth-chainspec/test-utils",
|
"reth-chainspec/test-utils",
|
||||||
"reth-consensus/test-utils",
|
"reth-consensus/test-utils",
|
||||||
"reth-discv4/test-utils",
|
"reth-discv4/test-utils",
|
||||||
"reth-network/test-utils",
|
"reth-network/test-utils",
|
||||||
"reth-network-p2p/test-utils",
|
"reth-network-p2p/test-utils",
|
||||||
"reth-primitives/test-utils",
|
"reth-primitives/test-utils",
|
||||||
"reth-primitives-traits/test-utils",
|
"reth-primitives-traits/test-utils",
|
||||||
"reth-provider/test-utils"
|
"reth-provider/test-utils",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
|
|||||||
@ -45,19 +45,19 @@ tokio = { workspace = true, features = ["full"] }
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"reth-consensus/test-utils",
|
"reth-consensus/test-utils",
|
||||||
"parking_lot",
|
"parking_lot",
|
||||||
"reth-network-types/test-utils",
|
"reth-network-types/test-utils",
|
||||||
"reth-primitives/test-utils",
|
"reth-primitives/test-utils",
|
||||||
"reth-primitives-traits/test-utils"
|
"reth-primitives-traits/test-utils",
|
||||||
]
|
]
|
||||||
std = [
|
std = [
|
||||||
"reth-consensus/std",
|
"reth-consensus/std",
|
||||||
"reth-primitives/std",
|
"reth-primitives/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"reth-network-peers/std"
|
"reth-network-peers/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -12,7 +12,6 @@ description = "Network peer types and utils"
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
# eth
|
# eth
|
||||||
alloy-primitives = { workspace = true, features = ["rlp"] }
|
alloy-primitives = { workspace = true, features = ["rlp"] }
|
||||||
alloy-rlp = { workspace = true, features = ["derive", "core-net", "core-error"] }
|
alloy-rlp = { workspace = true, features = ["derive", "core-net", "core-error"] }
|
||||||
@ -38,13 +37,13 @@ tokio = { workspace = true, features = ["net", "macros", "rt"] }
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"secp256k1?/std",
|
"secp256k1?/std",
|
||||||
"serde_with/std",
|
"serde_with/std",
|
||||||
"thiserror/std",
|
"thiserror/std",
|
||||||
"url/std",
|
"url/std",
|
||||||
"serde_json/std"
|
"serde_json/std",
|
||||||
]
|
]
|
||||||
secp256k1 = ["dep:secp256k1", "enr/secp256k1"]
|
secp256k1 = ["dep:secp256k1", "enr/secp256k1"]
|
||||||
net = ["std", "dep:tokio", "tokio?/net"]
|
net = ["std", "dep:tokio", "tokio?/net"]
|
||||||
|
|||||||
@ -63,20 +63,11 @@ alloy-eips = { workspace = true, features = ["kzg"] }
|
|||||||
|
|
||||||
## async
|
## async
|
||||||
futures.workspace = true
|
futures.workspace = true
|
||||||
tokio = { workspace = true, features = [
|
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
|
||||||
"sync",
|
|
||||||
"macros",
|
|
||||||
"time",
|
|
||||||
"rt-multi-thread",
|
|
||||||
] }
|
|
||||||
tokio-stream.workspace = true
|
tokio-stream.workspace = true
|
||||||
|
|
||||||
## crypto
|
## crypto
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||||
"global-context",
|
|
||||||
"rand-std",
|
|
||||||
"recovery",
|
|
||||||
] }
|
|
||||||
|
|
||||||
## misc
|
## misc
|
||||||
aquamarine.workspace = true
|
aquamarine.workspace = true
|
||||||
|
|||||||
@ -61,11 +61,7 @@ shellexpand.workspace = true
|
|||||||
tracing.workspace = true
|
tracing.workspace = true
|
||||||
|
|
||||||
# crypto
|
# crypto
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||||
"global-context",
|
|
||||||
"rand-std",
|
|
||||||
"recovery",
|
|
||||||
] }
|
|
||||||
|
|
||||||
# async
|
# async
|
||||||
futures.workspace = true
|
futures.workspace = true
|
||||||
|
|||||||
@ -22,7 +22,7 @@ reth-payload-primitives.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"reth-chainspec/std",
|
"reth-chainspec/std",
|
||||||
"reth-engine-primitives/std"
|
"reth-engine-primitives/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -38,19 +38,19 @@ tracy-allocator = ["reth-cli-util/tracy-allocator"]
|
|||||||
asm-keccak = ["reth-optimism-cli/asm-keccak", "reth-optimism-node/asm-keccak"]
|
asm-keccak = ["reth-optimism-cli/asm-keccak", "reth-optimism-node/asm-keccak"]
|
||||||
|
|
||||||
optimism = [
|
optimism = [
|
||||||
"reth-optimism-cli/optimism",
|
"reth-optimism-cli/optimism",
|
||||||
"reth-optimism-node/optimism",
|
"reth-optimism-node/optimism",
|
||||||
"reth-optimism-consensus/optimism",
|
"reth-optimism-consensus/optimism",
|
||||||
"reth-optimism-evm/optimism",
|
"reth-optimism-evm/optimism",
|
||||||
"reth-optimism-payload-builder/optimism",
|
"reth-optimism-payload-builder/optimism",
|
||||||
"reth-optimism-rpc/optimism",
|
"reth-optimism-rpc/optimism",
|
||||||
"reth-provider/optimism",
|
"reth-provider/optimism",
|
||||||
"reth-optimism-primitives/optimism",
|
"reth-optimism-primitives/optimism",
|
||||||
]
|
]
|
||||||
|
|
||||||
dev = [
|
dev = [
|
||||||
"reth-optimism-cli/dev",
|
"reth-optimism-cli/dev",
|
||||||
"reth-optimism-primitives/arbitrary",
|
"reth-optimism-primitives/arbitrary",
|
||||||
]
|
]
|
||||||
|
|
||||||
min-error-logs = ["tracing/release_max_level_error"]
|
min-error-logs = ["tracing/release_max_level_error"]
|
||||||
|
|||||||
@ -48,20 +48,20 @@ op-alloy-rpc-types.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-chains/std",
|
"alloy-chains/std",
|
||||||
"alloy-genesis/std",
|
"alloy-genesis/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"op-alloy-rpc-types/std",
|
"op-alloy-rpc-types/std",
|
||||||
"reth-chainspec/std",
|
"reth-chainspec/std",
|
||||||
"reth-ethereum-forks/std",
|
"reth-ethereum-forks/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"reth-optimism-forks/std",
|
"reth-optimism-forks/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"once_cell/std",
|
"once_cell/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"reth-network-peers/std",
|
"reth-network-peers/std",
|
||||||
"thiserror/std",
|
"thiserror/std",
|
||||||
"serde_json/std",
|
"serde_json/std",
|
||||||
"op-alloy-consensus/std"
|
"op-alloy-consensus/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -55,13 +55,7 @@ derive_more = { workspace = true, optional = true }
|
|||||||
serde = { workspace = true, optional = true }
|
serde = { workspace = true, optional = true }
|
||||||
clap = { workspace = true, features = ["derive", "env"] }
|
clap = { workspace = true, features = ["derive", "env"] }
|
||||||
|
|
||||||
|
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
|
||||||
tokio = { workspace = true, features = [
|
|
||||||
"sync",
|
|
||||||
"macros",
|
|
||||||
"time",
|
|
||||||
"rt-multi-thread",
|
|
||||||
] }
|
|
||||||
tokio-util = { workspace = true, features = ["codec"] }
|
tokio-util = { workspace = true, features = ["codec"] }
|
||||||
tracing.workspace = true
|
tracing.workspace = true
|
||||||
eyre.workspace = true
|
eyre.workspace = true
|
||||||
@ -70,7 +64,6 @@ eyre.workspace = true
|
|||||||
proptest = { workspace = true, optional = true }
|
proptest = { workspace = true, optional = true }
|
||||||
op-alloy-consensus = { workspace = true, optional = true }
|
op-alloy-consensus = { workspace = true, optional = true }
|
||||||
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempfile.workspace = true
|
tempfile.workspace = true
|
||||||
reth-stages = { workspace = true, features = ["test-utils"] }
|
reth-stages = { workspace = true, features = ["test-utils"] }
|
||||||
@ -80,18 +73,18 @@ reth-cli-commands.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
optimism = [
|
optimism = [
|
||||||
"op-alloy-consensus",
|
"op-alloy-consensus",
|
||||||
"alloy-consensus",
|
"alloy-consensus",
|
||||||
"dep:derive_more",
|
"dep:derive_more",
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"reth-optimism-evm/optimism",
|
"reth-optimism-evm/optimism",
|
||||||
"reth-provider/optimism",
|
"reth-provider/optimism",
|
||||||
"reth-node-core/optimism",
|
"reth-node-core/optimism",
|
||||||
"reth-optimism-node/optimism",
|
"reth-optimism-node/optimism",
|
||||||
"reth-execution-types/optimism",
|
"reth-execution-types/optimism",
|
||||||
"reth-db/optimism",
|
"reth-db/optimism",
|
||||||
"reth-db-api/optimism",
|
"reth-db-api/optimism",
|
||||||
"reth-optimism-primitives/optimism",
|
"reth-optimism-primitives/optimism",
|
||||||
"reth-downloaders/optimism"
|
"reth-downloaders/optimism",
|
||||||
]
|
]
|
||||||
asm-keccak = [
|
asm-keccak = [
|
||||||
"alloy-primitives/asm-keccak",
|
"alloy-primitives/asm-keccak",
|
||||||
@ -103,19 +96,19 @@ asm-keccak = [
|
|||||||
# Jemalloc feature for vergen to generate correct env vars
|
# Jemalloc feature for vergen to generate correct env vars
|
||||||
jemalloc = [
|
jemalloc = [
|
||||||
"reth-node-core/jemalloc",
|
"reth-node-core/jemalloc",
|
||||||
"reth-node-metrics/jemalloc"
|
"reth-node-metrics/jemalloc",
|
||||||
]
|
]
|
||||||
|
|
||||||
dev = [
|
dev = [
|
||||||
"dep:proptest",
|
"dep:proptest",
|
||||||
"reth-cli-commands/arbitrary"
|
"reth-cli-commands/arbitrary",
|
||||||
]
|
]
|
||||||
serde = [
|
serde = [
|
||||||
"alloy-consensus?/serde",
|
"alloy-consensus?/serde",
|
||||||
"alloy-eips/serde",
|
"alloy-eips/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"op-alloy-consensus?/serde",
|
"op-alloy-consensus?/serde",
|
||||||
"reth-execution-types/serde",
|
"reth-execution-types/serde",
|
||||||
"reth-provider/serde",
|
"reth-provider/serde",
|
||||||
"reth-optimism-primitives/serde",
|
"reth-optimism-primitives/serde",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -57,30 +57,30 @@ reth-optimism-primitives = { workspace = true, features = ["arbitrary"] }
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"reth-consensus/std",
|
"reth-consensus/std",
|
||||||
"reth-primitives/std",
|
"reth-primitives/std",
|
||||||
"reth-revm/std",
|
"reth-revm/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-genesis/std",
|
"alloy-genesis/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"revm-primitives/std",
|
"revm-primitives/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"revm/std",
|
"revm/std",
|
||||||
"reth-optimism-primitives/std",
|
"reth-optimism-primitives/std",
|
||||||
"reth-ethereum-forks/std",
|
"reth-ethereum-forks/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"reth-optimism-forks/std",
|
"reth-optimism-forks/std",
|
||||||
"thiserror/std",
|
"thiserror/std",
|
||||||
"op-alloy-consensus/std",
|
"op-alloy-consensus/std",
|
||||||
"reth-chainspec/std",
|
"reth-chainspec/std",
|
||||||
"reth-optimism-consensus/std",
|
"reth-optimism-consensus/std",
|
||||||
"reth-consensus-common/std",
|
"reth-consensus-common/std",
|
||||||
]
|
]
|
||||||
optimism = [
|
optimism = [
|
||||||
"reth-execution-types/optimism",
|
"reth-execution-types/optimism",
|
||||||
"reth-optimism-consensus/optimism",
|
"reth-optimism-consensus/optimism",
|
||||||
"revm/optimism",
|
"revm/optimism",
|
||||||
"revm-primitives/optimism",
|
"revm-primitives/optimism",
|
||||||
"reth-optimism-primitives/optimism",
|
"reth-optimism-primitives/optimism",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -29,15 +29,15 @@ once_cell.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"once_cell/std",
|
"once_cell/std",
|
||||||
"serde?/std",
|
"serde?/std",
|
||||||
"alloy-chains/std",
|
"alloy-chains/std",
|
||||||
"reth-ethereum-forks/std"
|
"reth-ethereum-forks/std",
|
||||||
]
|
]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"alloy-chains/serde",
|
"alloy-chains/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"reth-ethereum-forks/serde"
|
"reth-ethereum-forks/serde",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -90,49 +90,49 @@ futures.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["reth-codec"]
|
default = ["reth-codec"]
|
||||||
optimism = [
|
optimism = [
|
||||||
"reth-provider/optimism",
|
"reth-provider/optimism",
|
||||||
"reth-optimism-evm/optimism",
|
"reth-optimism-evm/optimism",
|
||||||
"reth-optimism-payload-builder/optimism",
|
"reth-optimism-payload-builder/optimism",
|
||||||
"revm/optimism",
|
"revm/optimism",
|
||||||
"reth-optimism-rpc/optimism",
|
"reth-optimism-rpc/optimism",
|
||||||
"reth-engine-local/op",
|
"reth-engine-local/op",
|
||||||
"reth-optimism-consensus/optimism",
|
"reth-optimism-consensus/optimism",
|
||||||
"reth-db/optimism",
|
"reth-db/optimism",
|
||||||
"reth-optimism-node/optimism",
|
"reth-optimism-node/optimism",
|
||||||
"reth-node-core/optimism",
|
"reth-node-core/optimism",
|
||||||
"reth-optimism-primitives/optimism",
|
"reth-optimism-primitives/optimism",
|
||||||
]
|
]
|
||||||
asm-keccak = [
|
asm-keccak = [
|
||||||
"reth-primitives/asm-keccak",
|
"reth-primitives/asm-keccak",
|
||||||
"alloy-primitives/asm-keccak",
|
"alloy-primitives/asm-keccak",
|
||||||
"revm/asm-keccak",
|
"revm/asm-keccak",
|
||||||
"reth-optimism-node/asm-keccak",
|
"reth-optimism-node/asm-keccak",
|
||||||
"reth-node-core/asm-keccak"
|
"reth-node-core/asm-keccak",
|
||||||
]
|
]
|
||||||
js-tracer = [
|
js-tracer = [
|
||||||
"reth-node-builder/js-tracer"
|
"reth-node-builder/js-tracer",
|
||||||
]
|
]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"reth-tasks",
|
"reth-tasks",
|
||||||
"reth-e2e-test-utils",
|
"reth-e2e-test-utils",
|
||||||
"alloy-genesis",
|
"alloy-genesis",
|
||||||
"tokio",
|
"tokio",
|
||||||
"reth-node-builder/test-utils",
|
"reth-node-builder/test-utils",
|
||||||
"reth-chainspec/test-utils",
|
"reth-chainspec/test-utils",
|
||||||
"reth-consensus/test-utils",
|
"reth-consensus/test-utils",
|
||||||
"reth-evm/test-utils",
|
"reth-evm/test-utils",
|
||||||
"reth-network/test-utils",
|
"reth-network/test-utils",
|
||||||
"reth-payload-builder/test-utils",
|
"reth-payload-builder/test-utils",
|
||||||
"reth-primitives/test-utils",
|
"reth-primitives/test-utils",
|
||||||
"reth-revm/test-utils",
|
"reth-revm/test-utils",
|
||||||
"reth-db/test-utils",
|
"reth-db/test-utils",
|
||||||
"reth-provider/test-utils",
|
"reth-provider/test-utils",
|
||||||
"reth-transaction-pool/test-utils",
|
"reth-transaction-pool/test-utils",
|
||||||
"reth-trie-db/test-utils",
|
"reth-trie-db/test-utils",
|
||||||
"revm/test-utils",
|
"revm/test-utils",
|
||||||
"reth-optimism-node/test-utils",
|
"reth-optimism-node/test-utils",
|
||||||
"reth-optimism-primitives/arbitrary",
|
"reth-optimism-primitives/arbitrary",
|
||||||
"reth-primitives-traits/test-utils"
|
"reth-primitives-traits/test-utils",
|
||||||
]
|
]
|
||||||
reth-codec = [
|
reth-codec = [
|
||||||
"reth-primitives/reth-codec",
|
"reth-primitives/reth-codec",
|
||||||
|
|||||||
@ -55,10 +55,10 @@ sha2.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
optimism = [
|
optimism = [
|
||||||
"reth-provider/optimism",
|
"reth-provider/optimism",
|
||||||
"reth-optimism-evm/optimism",
|
"reth-optimism-evm/optimism",
|
||||||
"revm/optimism",
|
"revm/optimism",
|
||||||
"reth-execution-types/optimism",
|
"reth-execution-types/optimism",
|
||||||
"reth-optimism-consensus/optimism",
|
"reth-optimism-consensus/optimism",
|
||||||
"reth-optimism-primitives/optimism"
|
"reth-optimism-primitives/optimism",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -53,19 +53,19 @@ rand.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"reth-codecs?/std",
|
"reth-codecs?/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"serde?/std",
|
"serde?/std",
|
||||||
"bytes?/std",
|
"bytes?/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"revm-primitives?/std",
|
"revm-primitives?/std",
|
||||||
"secp256k1?/std",
|
"secp256k1?/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"reth-zstd-compressors?/std",
|
"reth-zstd-compressors?/std",
|
||||||
"op-alloy-consensus/std",
|
"op-alloy-consensus/std",
|
||||||
]
|
]
|
||||||
reth-codec = [
|
reth-codec = [
|
||||||
"dep:reth-codecs",
|
"dep:reth-codecs",
|
||||||
@ -76,7 +76,7 @@ reth-codec = [
|
|||||||
"reth-codecs?/op",
|
"reth-codecs?/op",
|
||||||
"dep:bytes",
|
"dep:bytes",
|
||||||
"dep:modular-bitfield",
|
"dep:modular-bitfield",
|
||||||
"dep:reth-zstd-compressors"
|
"dep:reth-zstd-compressors",
|
||||||
]
|
]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
@ -92,10 +92,10 @@ serde = [
|
|||||||
"secp256k1?/serde",
|
"secp256k1?/serde",
|
||||||
]
|
]
|
||||||
serde-bincode-compat = [
|
serde-bincode-compat = [
|
||||||
"alloy-consensus/serde-bincode-compat",
|
"alloy-consensus/serde-bincode-compat",
|
||||||
"alloy-eips/serde-bincode-compat",
|
"alloy-eips/serde-bincode-compat",
|
||||||
"op-alloy-consensus/serde-bincode-compat",
|
"op-alloy-consensus/serde-bincode-compat",
|
||||||
"reth-primitives-traits/serde-bincode-compat"
|
"reth-primitives-traits/serde-bincode-compat",
|
||||||
]
|
]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
@ -112,5 +112,5 @@ arbitrary = [
|
|||||||
]
|
]
|
||||||
optimism = [
|
optimism = [
|
||||||
"dep:revm-primitives",
|
"dep:revm-primitives",
|
||||||
"revm-primitives/optimism",
|
"revm-primitives/optimism",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -69,10 +69,10 @@ reth-optimism-chainspec.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
optimism = [
|
optimism = [
|
||||||
"reth-optimism-evm/optimism",
|
"reth-optimism-evm/optimism",
|
||||||
"reth-provider/optimism",
|
"reth-provider/optimism",
|
||||||
"revm/optimism",
|
"revm/optimism",
|
||||||
"reth-optimism-consensus/optimism",
|
"reth-optimism-consensus/optimism",
|
||||||
"reth-optimism-payload-builder/optimism",
|
"reth-optimism-payload-builder/optimism",
|
||||||
"reth-optimism-primitives/optimism",
|
"reth-optimism-primitives/optimism",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -21,6 +21,6 @@ reth-stages-types.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
optimism = [
|
optimism = [
|
||||||
"reth-codecs/op",
|
"reth-codecs/op",
|
||||||
"reth-db-api/optimism"
|
"reth-db-api/optimism",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -23,7 +23,7 @@ reth-payload-builder-primitives.workspace = true
|
|||||||
reth-payload-primitives.workspace = true
|
reth-payload-primitives.workspace = true
|
||||||
reth-tasks.workspace = true
|
reth-tasks.workspace = true
|
||||||
reth-evm.workspace = true
|
reth-evm.workspace = true
|
||||||
reth-revm.workspace=true
|
reth-revm.workspace = true
|
||||||
|
|
||||||
# revm
|
# revm
|
||||||
revm.workspace = true
|
revm.workspace = true
|
||||||
|
|||||||
@ -46,9 +46,9 @@ alloy-consensus.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"alloy-primitives",
|
"alloy-primitives",
|
||||||
"reth-chain-state/test-utils",
|
"reth-chain-state/test-utils",
|
||||||
"reth-primitives/test-utils",
|
"reth-primitives/test-utils",
|
||||||
"revm/test-utils",
|
"revm/test-utils",
|
||||||
"reth-primitives-traits/test-utils"
|
"reth-primitives-traits/test-utils",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -28,9 +28,7 @@ revm-primitives.workspace = true
|
|||||||
op-alloy-consensus = { workspace = true, optional = true }
|
op-alloy-consensus = { workspace = true, optional = true }
|
||||||
|
|
||||||
# crypto
|
# crypto
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = ["recovery"], optional = true }
|
||||||
"recovery",
|
|
||||||
], optional = true }
|
|
||||||
k256.workspace = true
|
k256.workspace = true
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
@ -44,7 +42,7 @@ thiserror.workspace = true
|
|||||||
|
|
||||||
# required by reth-codecs
|
# required by reth-codecs
|
||||||
modular-bitfield = { workspace = true, optional = true }
|
modular-bitfield = { workspace = true, optional = true }
|
||||||
serde = { workspace = true, optional = true}
|
serde = { workspace = true, optional = true }
|
||||||
|
|
||||||
# arbitrary utils
|
# arbitrary utils
|
||||||
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
||||||
@ -60,11 +58,7 @@ alloy-primitives = { workspace = true, features = ["arbitrary", "serde"] }
|
|||||||
alloy-consensus = { workspace = true, features = ["arbitrary", "serde"] }
|
alloy-consensus = { workspace = true, features = ["arbitrary", "serde"] }
|
||||||
|
|
||||||
arbitrary = { workspace = true, features = ["derive"] }
|
arbitrary = { workspace = true, features = ["derive"] }
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = ["recovery", "global-context", "rand"] }
|
||||||
"recovery",
|
|
||||||
"global-context",
|
|
||||||
"rand"
|
|
||||||
] }
|
|
||||||
bincode.workspace = true
|
bincode.workspace = true
|
||||||
byteorder.workspace = true
|
byteorder.workspace = true
|
||||||
proptest-arbitrary-interop.workspace = true
|
proptest-arbitrary-interop.workspace = true
|
||||||
@ -78,77 +72,77 @@ modular-bitfield.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-genesis/std",
|
"alloy-genesis/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"revm-primitives/std",
|
"revm-primitives/std",
|
||||||
"serde?/std",
|
"serde?/std",
|
||||||
"serde_with?/std",
|
"serde_with?/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"bytes/std",
|
"bytes/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"k256/std",
|
"k256/std",
|
||||||
"once_cell/std",
|
"once_cell/std",
|
||||||
"secp256k1?/std",
|
"secp256k1?/std",
|
||||||
"thiserror/std",
|
"thiserror/std",
|
||||||
"alloy-trie/std",
|
"alloy-trie/std",
|
||||||
"op-alloy-consensus?/std",
|
"op-alloy-consensus?/std",
|
||||||
"serde_json/std",
|
"serde_json/std",
|
||||||
"reth-chainspec/std"
|
"reth-chainspec/std",
|
||||||
]
|
]
|
||||||
secp256k1 = ["dep:secp256k1"]
|
secp256k1 = ["dep:secp256k1"]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"arbitrary",
|
"arbitrary",
|
||||||
"reth-codecs?/test-utils",
|
"reth-codecs?/test-utils",
|
||||||
"reth-chainspec/test-utils"
|
"reth-chainspec/test-utils",
|
||||||
]
|
]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"std",
|
"std",
|
||||||
"alloy-consensus/arbitrary",
|
"alloy-consensus/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
"dep:proptest",
|
"dep:proptest",
|
||||||
"dep:proptest-arbitrary-interop",
|
"dep:proptest-arbitrary-interop",
|
||||||
"alloy-eips/arbitrary",
|
"alloy-eips/arbitrary",
|
||||||
"revm-primitives/arbitrary",
|
"revm-primitives/arbitrary",
|
||||||
"reth-codecs?/arbitrary",
|
"reth-codecs?/arbitrary",
|
||||||
"secp256k1?/global-context",
|
"secp256k1?/global-context",
|
||||||
"secp256k1?/rand",
|
"secp256k1?/rand",
|
||||||
"op-alloy-consensus?/arbitrary",
|
"op-alloy-consensus?/arbitrary",
|
||||||
"alloy-trie/arbitrary",
|
"alloy-trie/arbitrary",
|
||||||
"reth-chainspec/arbitrary"
|
"reth-chainspec/arbitrary",
|
||||||
]
|
]
|
||||||
serde-bincode-compat = [
|
serde-bincode-compat = [
|
||||||
"serde",
|
"serde",
|
||||||
"serde_with",
|
"serde_with",
|
||||||
"alloy-consensus/serde-bincode-compat",
|
"alloy-consensus/serde-bincode-compat",
|
||||||
"alloy-eips/serde-bincode-compat",
|
"alloy-eips/serde-bincode-compat",
|
||||||
"op-alloy-consensus?/serde-bincode-compat"
|
"op-alloy-consensus?/serde-bincode-compat",
|
||||||
]
|
]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"alloy-consensus/serde",
|
"alloy-consensus/serde",
|
||||||
"alloy-eips/serde",
|
"alloy-eips/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"bytes/serde",
|
"bytes/serde",
|
||||||
"rand/serde",
|
"rand/serde",
|
||||||
"reth-codecs?/serde",
|
"reth-codecs?/serde",
|
||||||
"revm-primitives/serde",
|
"revm-primitives/serde",
|
||||||
"revm-primitives/serde",
|
"revm-primitives/serde",
|
||||||
"op-alloy-consensus?/serde",
|
"op-alloy-consensus?/serde",
|
||||||
"k256/serde",
|
"k256/serde",
|
||||||
"secp256k1?/serde",
|
"secp256k1?/serde",
|
||||||
"alloy-trie/serde"
|
"alloy-trie/serde",
|
||||||
]
|
]
|
||||||
reth-codec = [
|
reth-codec = [
|
||||||
"dep:reth-codecs",
|
"dep:reth-codecs",
|
||||||
"dep:modular-bitfield",
|
"dep:modular-bitfield",
|
||||||
"dep:byteorder",
|
"dep:byteorder",
|
||||||
]
|
]
|
||||||
op = [
|
op = [
|
||||||
"dep:op-alloy-consensus",
|
"dep:op-alloy-consensus",
|
||||||
]
|
]
|
||||||
rayon = [
|
rayon = [
|
||||||
"dep:rayon",
|
"dep:rayon",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -49,66 +49,62 @@ serde_json.workspace = true
|
|||||||
reth-codecs.workspace = true
|
reth-codecs.workspace = true
|
||||||
|
|
||||||
criterion.workspace = true
|
criterion.workspace = true
|
||||||
pprof = { workspace = true, features = [
|
pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
|
||||||
"flamegraph",
|
|
||||||
"frame-pointer",
|
|
||||||
"criterion",
|
|
||||||
] }
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["c-kzg", "alloy-compat", "std", "reth-codec", "secp256k1"]
|
default = ["c-kzg", "alloy-compat", "std", "reth-codec", "secp256k1"]
|
||||||
std = [
|
std = [
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-genesis/std",
|
"alloy-genesis/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"once_cell/std",
|
"once_cell/std",
|
||||||
"serde/std",
|
"serde/std",
|
||||||
"reth-ethereum-forks/std",
|
"reth-ethereum-forks/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"serde_json/std",
|
"serde_json/std",
|
||||||
"reth-ethereum-primitives/std",
|
"reth-ethereum-primitives/std",
|
||||||
"alloy-rlp/std"
|
"alloy-rlp/std",
|
||||||
]
|
]
|
||||||
reth-codec = [
|
reth-codec = [
|
||||||
"std",
|
"std",
|
||||||
"reth-primitives-traits/reth-codec",
|
"reth-primitives-traits/reth-codec",
|
||||||
"reth-ethereum-primitives/reth-codec"
|
"reth-ethereum-primitives/reth-codec",
|
||||||
]
|
]
|
||||||
asm-keccak = ["alloy-primitives/asm-keccak"]
|
asm-keccak = ["alloy-primitives/asm-keccak"]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
"alloy-eips/arbitrary",
|
"alloy-eips/arbitrary",
|
||||||
"reth-codec",
|
"reth-codec",
|
||||||
"reth-ethereum-forks/arbitrary",
|
"reth-ethereum-forks/arbitrary",
|
||||||
"reth-primitives-traits/arbitrary",
|
"reth-primitives-traits/arbitrary",
|
||||||
"alloy-consensus/arbitrary",
|
"alloy-consensus/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"reth-ethereum-primitives/arbitrary",
|
"reth-ethereum-primitives/arbitrary",
|
||||||
"reth-codecs/arbitrary"
|
"reth-codecs/arbitrary",
|
||||||
]
|
]
|
||||||
secp256k1 = [
|
secp256k1 = [
|
||||||
"reth-primitives-traits/secp256k1",
|
"reth-primitives-traits/secp256k1",
|
||||||
]
|
]
|
||||||
c-kzg = [
|
c-kzg = [
|
||||||
"dep:c-kzg",
|
"dep:c-kzg",
|
||||||
"alloy-consensus/kzg",
|
"alloy-consensus/kzg",
|
||||||
"alloy-eips/kzg",
|
"alloy-eips/kzg",
|
||||||
]
|
]
|
||||||
alloy-compat = [
|
alloy-compat = [
|
||||||
"reth-ethereum-primitives/alloy-compat"
|
"reth-ethereum-primitives/alloy-compat",
|
||||||
]
|
]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"reth-primitives-traits/test-utils",
|
"reth-primitives-traits/test-utils",
|
||||||
"arbitrary",
|
"arbitrary",
|
||||||
"reth-codecs/test-utils"
|
"reth-codecs/test-utils",
|
||||||
]
|
]
|
||||||
serde-bincode-compat = [
|
serde-bincode-compat = [
|
||||||
"alloy-eips/serde-bincode-compat",
|
"alloy-eips/serde-bincode-compat",
|
||||||
"alloy-consensus/serde-bincode-compat",
|
"alloy-consensus/serde-bincode-compat",
|
||||||
"reth-primitives-traits/serde-bincode-compat",
|
"reth-primitives-traits/serde-bincode-compat",
|
||||||
"reth-ethereum-primitives/serde-bincode-compat"
|
"reth-ethereum-primitives/serde-bincode-compat",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
|
|||||||
@ -32,10 +32,10 @@ toml.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
"reth-codecs/test-utils"
|
"reth-codecs/test-utils",
|
||||||
]
|
]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"reth-codecs/arbitrary"
|
"reth-codecs/arbitrary",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -35,26 +35,26 @@ alloy-consensus.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"reth-primitives/std",
|
"reth-primitives/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"revm/std",
|
"revm/std",
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"reth-ethereum-forks/std"
|
"reth-ethereum-forks/std",
|
||||||
]
|
]
|
||||||
witness = ["dep:reth-trie"]
|
witness = ["dep:reth-trie"]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"dep:reth-trie",
|
"dep:reth-trie",
|
||||||
"reth-primitives/test-utils",
|
"reth-primitives/test-utils",
|
||||||
"reth-trie?/test-utils",
|
"reth-trie?/test-utils",
|
||||||
"revm/test-utils",
|
"revm/test-utils",
|
||||||
"reth-prune-types/test-utils",
|
"reth-prune-types/test-utils",
|
||||||
]
|
]
|
||||||
serde = [
|
serde = [
|
||||||
"revm/serde",
|
"revm/serde",
|
||||||
"alloy-eips/serde",
|
"alloy-eips/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"alloy-consensus/serde",
|
"alloy-consensus/serde",
|
||||||
"reth-trie?/serde",
|
"reth-trie?/serde",
|
||||||
"reth-ethereum-forks/serde"
|
"reth-ethereum-forks/serde",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -12,7 +12,6 @@ description = "IPC support for reth"
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
# async/net
|
# async/net
|
||||||
futures.workspace = true
|
futures.workspace = true
|
||||||
tokio = { workspace = true, features = ["net", "time", "rt-multi-thread"] }
|
tokio = { workspace = true, features = ["net", "time", "rt-multi-thread"] }
|
||||||
|
|||||||
@ -62,6 +62,5 @@ itertools.workspace = true
|
|||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
js-tracer = ["revm-inspectors/js-tracer"]
|
js-tracer = ["revm-inspectors/js-tracer"]
|
||||||
|
|||||||
@ -24,4 +24,4 @@ tracing.workspace = true
|
|||||||
reqwest.workspace = true
|
reqwest.workspace = true
|
||||||
tokio = { workspace = true, features = ["macros"] }
|
tokio = { workspace = true, features = ["macros"] }
|
||||||
jsonrpsee = { workspace = true, features = ["server"] }
|
jsonrpsee = { workspace = true, features = ["server"] }
|
||||||
http-body-util.workspace=true
|
http-body-util.workspace = true
|
||||||
|
|||||||
@ -56,11 +56,7 @@ alloy-rpc-types-txpool.workspace = true
|
|||||||
alloy-rpc-types-admin.workspace = true
|
alloy-rpc-types-admin.workspace = true
|
||||||
alloy-rpc-types-engine.workspace = true
|
alloy-rpc-types-engine.workspace = true
|
||||||
alloy-serde.workspace = true
|
alloy-serde.workspace = true
|
||||||
revm = { workspace = true, features = [
|
revm = { workspace = true, features = ["optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee"] }
|
||||||
"optional_block_gas_limit",
|
|
||||||
"optional_eip3607",
|
|
||||||
"optional_no_base_fee",
|
|
||||||
] }
|
|
||||||
revm-primitives = { workspace = true, features = ["serde"] }
|
revm-primitives = { workspace = true, features = ["serde"] }
|
||||||
|
|
||||||
# rpc
|
# rpc
|
||||||
|
|||||||
@ -49,9 +49,9 @@ reth-testing-utils.workspace = true
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"reth-consensus/test-utils",
|
"reth-consensus/test-utils",
|
||||||
"reth-network-p2p/test-utils",
|
"reth-network-p2p/test-utils",
|
||||||
"reth-primitives-traits/test-utils",
|
"reth-primitives-traits/test-utils",
|
||||||
"reth-provider/test-utils",
|
"reth-provider/test-utils",
|
||||||
"reth-stages-types/test-utils"
|
"reth-stages-types/test-utils",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -25,9 +25,7 @@ reth-exex.workspace = true
|
|||||||
reth-fs-util.workspace = true
|
reth-fs-util.workspace = true
|
||||||
reth-network-p2p.workspace = true
|
reth-network-p2p.workspace = true
|
||||||
reth-primitives = { workspace = true, features = ["secp256k1"] }
|
reth-primitives = { workspace = true, features = ["secp256k1"] }
|
||||||
reth-primitives-traits = { workspace = true, features = [
|
reth-primitives-traits = { workspace = true, features = ["serde-bincode-compat"] }
|
||||||
"serde-bincode-compat",
|
|
||||||
] }
|
|
||||||
reth-provider.workspace = true
|
reth-provider.workspace = true
|
||||||
reth-execution-types.workspace = true
|
reth-execution-types.workspace = true
|
||||||
reth-prune.workspace = true
|
reth-prune.workspace = true
|
||||||
@ -59,10 +57,7 @@ num-traits = "0.2.15"
|
|||||||
tempfile = { workspace = true, optional = true }
|
tempfile = { workspace = true, optional = true }
|
||||||
bincode.workspace = true
|
bincode.workspace = true
|
||||||
blake3.workspace = true
|
blake3.workspace = true
|
||||||
reqwest = { workspace = true, default-features = false, features = [
|
reqwest = { workspace = true, default-features = false, features = ["rustls-tls-native-roots", "blocking"] }
|
||||||
"rustls-tls-native-roots",
|
|
||||||
"blocking"
|
|
||||||
] }
|
|
||||||
serde = { workspace = true, features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
@ -96,11 +91,7 @@ tempfile.workspace = true
|
|||||||
criterion = { workspace = true, features = ["async_tokio"] }
|
criterion = { workspace = true, features = ["async_tokio"] }
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
|
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
|
||||||
pprof = { workspace = true, features = [
|
pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
|
||||||
"flamegraph",
|
|
||||||
"frame-pointer",
|
|
||||||
"criterion",
|
|
||||||
] }
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
|
|||||||
@ -27,20 +27,13 @@ op-alloy-consensus = { workspace = true, optional = true }
|
|||||||
# misc
|
# misc
|
||||||
bytes.workspace = true
|
bytes.workspace = true
|
||||||
modular-bitfield.workspace = true
|
modular-bitfield.workspace = true
|
||||||
visibility = { version = "0.1.1", optional = true}
|
visibility = { version = "0.1.1", optional = true }
|
||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
alloy-eips = { workspace = true, default-features = false, features = [
|
alloy-eips = { workspace = true, default-features = false, features = ["arbitrary", "serde"] }
|
||||||
"arbitrary",
|
alloy-primitives = { workspace = true, features = ["arbitrary", "serde", "rand"] }
|
||||||
"serde",
|
|
||||||
] }
|
|
||||||
alloy-primitives = { workspace = true, features = [
|
|
||||||
"arbitrary",
|
|
||||||
"serde",
|
|
||||||
"rand",
|
|
||||||
] }
|
|
||||||
alloy-consensus = { workspace = true, features = ["arbitrary"] }
|
alloy-consensus = { workspace = true, features = ["arbitrary"] }
|
||||||
test-fuzz.workspace = true
|
test-fuzz.workspace = true
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
@ -53,15 +46,15 @@ rstest.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std", "alloy"]
|
default = ["std", "alloy"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"bytes/std",
|
"bytes/std",
|
||||||
"alloy-consensus?/std",
|
"alloy-consensus?/std",
|
||||||
"alloy-eips?/std",
|
"alloy-eips?/std",
|
||||||
"alloy-genesis?/std",
|
"alloy-genesis?/std",
|
||||||
"alloy-trie?/std",
|
"alloy-trie?/std",
|
||||||
"serde/std",
|
"serde/std",
|
||||||
"op-alloy-consensus?/std",
|
"op-alloy-consensus?/std",
|
||||||
"serde_json/std"
|
"serde_json/std",
|
||||||
]
|
]
|
||||||
alloy = [
|
alloy = [
|
||||||
"dep:alloy-consensus",
|
"dep:alloy-consensus",
|
||||||
@ -71,24 +64,24 @@ alloy = [
|
|||||||
]
|
]
|
||||||
op = ["alloy", "dep:op-alloy-consensus"]
|
op = ["alloy", "dep:op-alloy-consensus"]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"std",
|
"std",
|
||||||
"alloy",
|
"alloy",
|
||||||
"arbitrary",
|
"arbitrary",
|
||||||
"dep:visibility",
|
"dep:visibility",
|
||||||
"dep:arbitrary"
|
"dep:arbitrary",
|
||||||
]
|
]
|
||||||
serde = [
|
serde = [
|
||||||
"alloy-consensus?/serde",
|
"alloy-consensus?/serde",
|
||||||
"alloy-eips?/serde",
|
"alloy-eips?/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"alloy-trie?/serde",
|
"alloy-trie?/serde",
|
||||||
"bytes/serde",
|
"bytes/serde",
|
||||||
"op-alloy-consensus?/serde",
|
"op-alloy-consensus?/serde",
|
||||||
]
|
]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"alloy-consensus?/arbitrary",
|
"alloy-consensus?/arbitrary",
|
||||||
"alloy-eips?/arbitrary",
|
"alloy-eips?/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"alloy-trie?/arbitrary",
|
"alloy-trie?/arbitrary",
|
||||||
"op-alloy-consensus?/arbitrary"
|
"op-alloy-consensus?/arbitrary",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -72,23 +72,23 @@ test-utils = [
|
|||||||
"reth-stages-types/test-utils",
|
"reth-stages-types/test-utils",
|
||||||
]
|
]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"reth-primitives/arbitrary",
|
"reth-primitives/arbitrary",
|
||||||
"reth-db-models/arbitrary",
|
"reth-db-models/arbitrary",
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
"dep:proptest",
|
"dep:proptest",
|
||||||
"reth-primitives-traits/arbitrary",
|
"reth-primitives-traits/arbitrary",
|
||||||
"reth-trie-common/arbitrary",
|
"reth-trie-common/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"parity-scale-codec/arbitrary",
|
"parity-scale-codec/arbitrary",
|
||||||
"reth-codecs/arbitrary",
|
"reth-codecs/arbitrary",
|
||||||
"reth-prune-types/arbitrary",
|
"reth-prune-types/arbitrary",
|
||||||
"reth-stages-types/arbitrary",
|
"reth-stages-types/arbitrary",
|
||||||
"alloy-consensus/arbitrary",
|
"alloy-consensus/arbitrary",
|
||||||
"reth-optimism-primitives?/arbitrary"
|
"reth-optimism-primitives?/arbitrary",
|
||||||
]
|
]
|
||||||
optimism = [
|
optimism = [
|
||||||
"reth-codecs/op",
|
"reth-codecs/op",
|
||||||
"reth-optimism-primitives?/optimism",
|
"reth-optimism-primitives?/optimism",
|
||||||
"op",
|
"op",
|
||||||
]
|
]
|
||||||
op = ["dep:reth-optimism-primitives", "reth-codecs/op"]
|
op = ["dep:reth-optimism-primitives", "reth-codecs/op"]
|
||||||
|
|||||||
@ -29,10 +29,7 @@ alloy-primitives.workspace = true
|
|||||||
alloy-consensus.workspace = true
|
alloy-consensus.workspace = true
|
||||||
|
|
||||||
# mdbx
|
# mdbx
|
||||||
reth-libmdbx = { workspace = true, optional = true, features = [
|
reth-libmdbx = { workspace = true, optional = true, features = ["return-borrowed", "read-tx-timeouts"] }
|
||||||
"return-borrowed",
|
|
||||||
"read-tx-timeouts",
|
|
||||||
] }
|
|
||||||
eyre = { workspace = true, optional = true }
|
eyre = { workspace = true, optional = true }
|
||||||
|
|
||||||
# codecs
|
# codecs
|
||||||
@ -63,11 +60,7 @@ tempfile.workspace = true
|
|||||||
test-fuzz.workspace = true
|
test-fuzz.workspace = true
|
||||||
parking_lot.workspace = true
|
parking_lot.workspace = true
|
||||||
|
|
||||||
pprof = { workspace = true, features = [
|
pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
|
||||||
"flamegraph",
|
|
||||||
"frame-pointer",
|
|
||||||
"criterion",
|
|
||||||
] }
|
|
||||||
criterion.workspace = true
|
criterion.workspace = true
|
||||||
|
|
||||||
arbitrary = { workspace = true, features = ["derive"] }
|
arbitrary = { workspace = true, features = ["derive"] }
|
||||||
|
|||||||
@ -29,10 +29,10 @@ thiserror.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-eips/std",
|
"alloy-eips/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"thiserror/std"
|
"thiserror/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -31,11 +31,7 @@ return-borrowed = []
|
|||||||
read-tx-timeouts = ["dep:dashmap"]
|
read-tx-timeouts = ["dep:dashmap"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pprof = { workspace = true, features = [
|
pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
|
||||||
"flamegraph",
|
|
||||||
"frame-pointer",
|
|
||||||
"criterion",
|
|
||||||
] }
|
|
||||||
criterion.workspace = true
|
criterion.workspace = true
|
||||||
rand.workspace = true
|
rand.workspace = true
|
||||||
rand_xorshift = "0.3"
|
rand_xorshift = "0.3"
|
||||||
|
|||||||
@ -57,9 +57,7 @@ metrics.workspace = true
|
|||||||
# misc
|
# misc
|
||||||
auto_impl.workspace = true
|
auto_impl.workspace = true
|
||||||
itertools.workspace = true
|
itertools.workspace = true
|
||||||
notify = { workspace = true, default-features = false, features = [
|
notify = { workspace = true, default-features = false, features = ["macos_fsevent"] }
|
||||||
"macos_fsevent",
|
|
||||||
] }
|
|
||||||
parking_lot.workspace = true
|
parking_lot.workspace = true
|
||||||
dashmap = { workspace = true, features = ["inline"] }
|
dashmap = { workspace = true, features = ["inline"] }
|
||||||
strum.workspace = true
|
strum.workspace = true
|
||||||
|
|||||||
@ -12,7 +12,6 @@ description = "Task management"
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
# async
|
# async
|
||||||
tokio = { workspace = true, features = ["sync", "rt"] }
|
tokio = { workspace = true, features = ["sync", "rt"] }
|
||||||
tracing-futures.workspace = true
|
tracing-futures.workspace = true
|
||||||
|
|||||||
@ -25,7 +25,7 @@ alloy-serde = { workspace = true, optional = true }
|
|||||||
|
|
||||||
bytes = { workspace = true, optional = true }
|
bytes = { workspace = true, optional = true }
|
||||||
derive_more.workspace = true
|
derive_more.workspace = true
|
||||||
itertools= { workspace = true, features = ["use_alloc"] }
|
itertools = { workspace = true, features = ["use_alloc"] }
|
||||||
nybbles = { workspace = true, features = ["rlp"] }
|
nybbles = { workspace = true, features = ["rlp"] }
|
||||||
|
|
||||||
# `serde` feature
|
# `serde` feature
|
||||||
@ -60,20 +60,20 @@ serde_with.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = [
|
std = [
|
||||||
"alloy-consensus/std",
|
"alloy-consensus/std",
|
||||||
"alloy-genesis/std",
|
"alloy-genesis/std",
|
||||||
"alloy-primitives/std",
|
"alloy-primitives/std",
|
||||||
"alloy-rlp/std",
|
"alloy-rlp/std",
|
||||||
"alloy-rpc-types-eth?/std",
|
"alloy-rpc-types-eth?/std",
|
||||||
"alloy-serde?/std",
|
"alloy-serde?/std",
|
||||||
"alloy-trie/std",
|
"alloy-trie/std",
|
||||||
"bytes?/std",
|
"bytes?/std",
|
||||||
"derive_more/std",
|
"derive_more/std",
|
||||||
"nybbles/std",
|
"nybbles/std",
|
||||||
"reth-primitives-traits/std",
|
"reth-primitives-traits/std",
|
||||||
"serde?/std",
|
"serde?/std",
|
||||||
"serde_with?/std",
|
"serde_with?/std",
|
||||||
"serde_json/std"
|
"serde_json/std",
|
||||||
]
|
]
|
||||||
eip1186 = [
|
eip1186 = [
|
||||||
"alloy-rpc-types-eth/serde",
|
"alloy-rpc-types-eth/serde",
|
||||||
@ -88,7 +88,7 @@ serde = [
|
|||||||
"alloy-trie/serde",
|
"alloy-trie/serde",
|
||||||
"alloy-rpc-types-eth?/serde",
|
"alloy-rpc-types-eth?/serde",
|
||||||
"reth-primitives-traits/serde",
|
"reth-primitives-traits/serde",
|
||||||
"reth-codecs?/serde"
|
"reth-codecs?/serde",
|
||||||
]
|
]
|
||||||
reth-codec = [
|
reth-codec = [
|
||||||
"dep:reth-codecs",
|
"dep:reth-codecs",
|
||||||
@ -96,9 +96,9 @@ reth-codec = [
|
|||||||
]
|
]
|
||||||
serde-bincode-compat = [
|
serde-bincode-compat = [
|
||||||
"serde",
|
"serde",
|
||||||
"reth-primitives-traits/serde-bincode-compat",
|
"reth-primitives-traits/serde-bincode-compat",
|
||||||
"alloy-consensus/serde-bincode-compat",
|
"alloy-consensus/serde-bincode-compat",
|
||||||
"dep:serde_with"
|
"dep:serde_with",
|
||||||
]
|
]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"dep:plain_hasher",
|
"dep:plain_hasher",
|
||||||
@ -108,17 +108,17 @@ test-utils = [
|
|||||||
"reth-codecs/test-utils",
|
"reth-codecs/test-utils",
|
||||||
]
|
]
|
||||||
arbitrary = [
|
arbitrary = [
|
||||||
"std",
|
"std",
|
||||||
"dep:reth-codecs",
|
"dep:reth-codecs",
|
||||||
"alloy-trie/arbitrary",
|
"alloy-trie/arbitrary",
|
||||||
"dep:arbitrary",
|
"dep:arbitrary",
|
||||||
"alloy-serde?/arbitrary",
|
"alloy-serde?/arbitrary",
|
||||||
"reth-primitives-traits/arbitrary",
|
"reth-primitives-traits/arbitrary",
|
||||||
"alloy-consensus/arbitrary",
|
"alloy-consensus/arbitrary",
|
||||||
"alloy-primitives/arbitrary",
|
"alloy-primitives/arbitrary",
|
||||||
"nybbles/arbitrary",
|
"nybbles/arbitrary",
|
||||||
"reth-codecs/arbitrary",
|
"reth-codecs/arbitrary",
|
||||||
"alloy-rpc-types-eth?/arbitrary"
|
"alloy-rpc-types-eth?/arbitrary",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
|
|||||||
@ -66,23 +66,23 @@ similar-asserts.workspace = true
|
|||||||
[features]
|
[features]
|
||||||
metrics = ["reth-metrics", "reth-trie/metrics", "dep:metrics"]
|
metrics = ["reth-metrics", "reth-trie/metrics", "dep:metrics"]
|
||||||
serde = [
|
serde = [
|
||||||
"dep:serde",
|
"dep:serde",
|
||||||
"similar-asserts/serde",
|
"similar-asserts/serde",
|
||||||
"revm/serde",
|
"revm/serde",
|
||||||
"alloy-consensus/serde",
|
"alloy-consensus/serde",
|
||||||
"alloy-primitives/serde",
|
"alloy-primitives/serde",
|
||||||
"reth-trie/serde",
|
"reth-trie/serde",
|
||||||
"reth-trie-common/serde",
|
"reth-trie-common/serde",
|
||||||
"reth-provider/serde",
|
"reth-provider/serde",
|
||||||
]
|
]
|
||||||
test-utils = [
|
test-utils = [
|
||||||
"triehash",
|
"triehash",
|
||||||
"revm/test-utils",
|
"revm/test-utils",
|
||||||
"reth-trie-common/test-utils",
|
"reth-trie-common/test-utils",
|
||||||
"reth-chainspec/test-utils",
|
"reth-chainspec/test-utils",
|
||||||
"reth-primitives/test-utils",
|
"reth-primitives/test-utils",
|
||||||
"reth-db/test-utils",
|
"reth-db/test-utils",
|
||||||
"reth-db-api/test-utils",
|
"reth-db-api/test-utils",
|
||||||
"reth-provider/test-utils",
|
"reth-provider/test-utils",
|
||||||
"reth-trie/test-utils",
|
"reth-trie/test-utils",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -9,7 +9,7 @@ ignore = [
|
|||||||
# https://rustsec.org/advisories/RUSTSEC-2024-0384 used by sse example
|
# https://rustsec.org/advisories/RUSTSEC-2024-0384 used by sse example
|
||||||
"RUSTSEC-2024-0384",
|
"RUSTSEC-2024-0384",
|
||||||
# https://rustsec.org/advisories/RUSTSEC-2024-0388 used by ssz, will be removed https://github.com/sigp/ethereum_ssz/pull/34
|
# https://rustsec.org/advisories/RUSTSEC-2024-0388 used by ssz, will be removed https://github.com/sigp/ethereum_ssz/pull/34
|
||||||
"RUSTSEC-2024-0388"
|
"RUSTSEC-2024-0388",
|
||||||
]
|
]
|
||||||
|
|
||||||
# This section is considered when running `cargo deny check bans`.
|
# This section is considered when running `cargo deny check bans`.
|
||||||
|
|||||||
13
dprint.json
Normal file
13
dprint.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"toml": {
|
||||||
|
"useTabs": false,
|
||||||
|
"cargo.applyConventions": false,
|
||||||
|
"indentWidth": 4
|
||||||
|
},
|
||||||
|
"includes": [
|
||||||
|
"**/*.toml"
|
||||||
|
],
|
||||||
|
"plugins": [
|
||||||
|
"https://plugins.dprint.dev/toml-0.6.4.wasm"
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -16,11 +16,7 @@ reth-network-peers.workspace = true
|
|||||||
reth-primitives.workspace = true
|
reth-primitives.workspace = true
|
||||||
reth-tracing.workspace = true
|
reth-tracing.workspace = true
|
||||||
|
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||||
"global-context",
|
|
||||||
"rand-std",
|
|
||||||
"recovery",
|
|
||||||
] }
|
|
||||||
|
|
||||||
tokio.workspace = true
|
tokio.workspace = true
|
||||||
tokio-stream.workspace = true
|
tokio-stream.workspace = true
|
||||||
|
|||||||
@ -5,7 +5,6 @@ publish = false
|
|||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reth.workspace = true
|
reth.workspace = true
|
||||||
reth-chainspec.workspace = true
|
reth-chainspec.workspace = true
|
||||||
|
|||||||
@ -5,7 +5,6 @@ publish = false
|
|||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reth.workspace = true
|
reth.workspace = true
|
||||||
reth-node-ethereum.workspace = true
|
reth-node-ethereum.workspace = true
|
||||||
|
|||||||
@ -5,7 +5,6 @@ publish = false
|
|||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { workspace = true, features = ["full"] }
|
tokio = { workspace = true, features = ["full"] }
|
||||||
futures.workspace = true
|
futures.workspace = true
|
||||||
|
|||||||
@ -5,7 +5,6 @@ publish = false
|
|||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reth-chainspec.workspace = true
|
reth-chainspec.workspace = true
|
||||||
reth-db.workspace = true
|
reth-db.workspace = true
|
||||||
@ -19,5 +18,4 @@ alloy-consensus.workspace = true
|
|||||||
alloy-rpc-types-eth.workspace = true
|
alloy-rpc-types-eth.workspace = true
|
||||||
alloy-primitives.workspace = true
|
alloy-primitives.workspace = true
|
||||||
|
|
||||||
|
|
||||||
eyre.workspace = true
|
eyre.workspace = true
|
||||||
|
|||||||
@ -8,11 +8,7 @@ license.workspace = true
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
secp256k1 = { workspace = true, features = [
|
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||||
"global-context",
|
|
||||||
"rand-std",
|
|
||||||
"recovery",
|
|
||||||
] }
|
|
||||||
tokio.workspace = true
|
tokio.workspace = true
|
||||||
reth-network.workspace = true
|
reth-network.workspace = true
|
||||||
reth-chainspec.workspace = true
|
reth-chainspec.workspace = true
|
||||||
|
|||||||
@ -22,11 +22,7 @@ asm-keccak = [
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
reth-chainspec.workspace = true
|
reth-chainspec.workspace = true
|
||||||
reth-primitives.workspace = true
|
reth-primitives.workspace = true
|
||||||
reth-db = { workspace = true, features = [
|
reth-db = { workspace = true, features = ["mdbx", "test-utils", "disable-lock"] }
|
||||||
"mdbx",
|
|
||||||
"test-utils",
|
|
||||||
"disable-lock",
|
|
||||||
] }
|
|
||||||
reth-db-api.workspace = true
|
reth-db-api.workspace = true
|
||||||
reth-provider = { workspace = true, features = ["test-utils"] }
|
reth-provider = { workspace = true, features = ["test-utils"] }
|
||||||
reth-stages.workspace = true
|
reth-stages.workspace = true
|
||||||
|
|||||||
@ -25,4 +25,4 @@ secp256k1 = { workspace = true, features = ["rand"] }
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
alloy-eips.workspace = true
|
alloy-eips.workspace = true
|
||||||
reth-primitives-traits .workspace = true
|
reth-primitives-traits.workspace = true
|
||||||
|
|||||||
Reference in New Issue
Block a user