Skip to content
Open
6 changes: 6 additions & 0 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions bin/ream/src/cli/beacon_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ pub struct BeaconNodeConfig {

#[arg(long, help = "Set metrics port", default_value_t = DEFAULT_BEACON_METRICS_PORT)]
pub metrics_port: u16,

#[arg(long, default_value_t = true, help = "Enable optimistic sync")]
pub optimistic_sync: bool,
}

impl From<BeaconNodeConfig> for ManagerConfig {
Expand All @@ -127,6 +130,7 @@ impl From<BeaconNodeConfig> for ManagerConfig {
enable_builder: config.enable_builder,
mev_relay_url: config.mev_relay_url,
blob_retention_epochs: config.blob_retention_epochs,
optimistic_sync: config.optimistic_sync,
}
}
}
11 changes: 11 additions & 0 deletions crates/common/chain/beacon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ rust-version.workspace = true
version.workspace = true

[features]
devnet5 = [
"ream-storage/devnet5",
"ream-network-spec/devnet5",
"ream-fork-choice-beacon/devnet5",
]
optimized-leanvm = [
"ream-network-spec/optimized-leanvm",
"ream-fork-choice-beacon/optimized-leanvm",
Expand All @@ -23,14 +28,17 @@ alloy-primitives.workspace = true
anyhow.workspace = true
ethereum_ssz.workspace = true
ethereum_ssz_derive.workspace = true
ssz_types.workspace = true
tokio.workspace = true
tracing.workspace = true
tree_hash.workspace = true

# ream dependencies
ream-consensus-beacon.workspace = true
ream-consensus-misc.workspace = true
ream-events-beacon.workspace = true
ream-execution-engine.workspace = true
ream-execution-rpc-types.workspace = true
ream-fork-choice-beacon.workspace = true
ream-metrics.workspace = true
ream-network-spec.workspace = true
Expand All @@ -39,5 +47,8 @@ ream-req-resp.workspace = true
ream-storage.workspace = true
ream-sync-committee-pool.workspace = true

[dev-dependencies]
tempdir.workspace = true

[lints]
workspace = true
Loading