Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 148 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ ethers = "2.0.14"
# ethrex-crypto's `aws-lc-rs` feature, whose cc >=1.2.26 requirement conflicts with
# reth-mdbx-sys's exact `cc = 1.2.15` pin (via helix-simulator). The node is
# assembled from the library crates instead.
ethrex-blockchain = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", default-features = false, features = ["secp256k1", "c-kzg", "metrics"] }
ethrex-common = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", default-features = false, features = ["secp256k1", "c-kzg"] }
ethrex-config = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a" }
ethrex-blockchain = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814", default-features = false, features = ["secp256k1", "c-kzg", "metrics"] }
ethrex-common = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814", default-features = false, features = ["secp256k1", "c-kzg"] }
ethrex-config = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814" }
# default features minus `aws-lc-rs` (see note above); P-256 verify uses the portable fallback
ethrex-crypto = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", default-features = false, features = ["std", "kzg-rs", "secp256k1", "blst", "c-kzg"] }
ethrex-metrics = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a" }
ethrex-p2p = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", features = ["c-kzg", "rocksdb", "metrics"] }
ethrex-rlp = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a" }
ethrex-rpc = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a" }
ethrex-storage = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", features = ["rocksdb"] }
ethrex-vm = { git = "https://github.com/lambdaclass/ethrex", rev = "b4d5677812fdf58cb3e439c77906dda4d9b6f91a", default-features = false, features = ["secp256k1", "c-kzg"] }
ethrex-crypto = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814", default-features = false, features = ["std", "kzg-rs", "secp256k1", "blst", "c-kzg"] }
ethrex-metrics = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814" }
ethrex-p2p = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814", features = ["c-kzg", "rocksdb", "metrics"] }
ethrex-rlp = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814" }
ethrex-rpc = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814" }
ethrex-storage = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814", features = ["rocksdb"] }
ethrex-vm = { git = "https://github.com/lambdaclass/ethrex", rev = "ee98e879880aee80440bcd59936c384c26629814", default-features = false, features = ["secp256k1", "c-kzg"] }

eyre = "0.6.12"
aws-sdk-s3 = "=1.35.0"
Expand Down
5 changes: 2 additions & 3 deletions crates/builder/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,11 @@ pub struct NodeOptions {
#[arg(
long = "rocksdb.block-cache-size",
value_name = "BYTES",
default_value_t = ethrex_storage::DEFAULT_ROCKSDB_BLOCK_CACHE_SIZE_BYTES,
help = "RocksDB shared block cache size in bytes.",
help = "RocksDB shared block cache size in bytes. Defaults to a fraction of available memory.",
env = "ETHREX_ROCKSDB_BLOCK_CACHE_SIZE",
help_heading = "Storage options"
)]
pub rocksdb_block_cache_size: usize,
pub rocksdb_block_cache_size: Option<usize>,
#[arg(
long = "skip-genesis-validation",
action = clap::ArgAction::SetTrue,
Expand Down
Loading
Loading