Skip to content

Commit

Permalink
Fixing missing feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
poplexity committed Oct 9, 2024
1 parent c07aa7a commit 158b507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion bin/reth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ min-info-logs = ["tracing/release_max_level_info"]
min-debug-logs = ["tracing/release_max_level_debug"]
min-trace-logs = ["tracing/release_max_level_trace"]

telos = []
telos = [
"reth-node-core/telos"
]

[[bin]]
name = "reth"
Expand Down
6 changes: 1 addition & 5 deletions crates/node/core/src/args/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub const SUPPORTED_CHAINS: &[&str] = &["mainnet", "sepolia", "holesky", "dev"];
#[cfg(feature = "telos")]
/// Chains supported by telos-reth
pub const SUPPORTED_CHAINS: &[&str] =
&["tevmmainnet", "tevmtestnet", "tevmmainnet-base", "tevmtestnet-base"];
&["tevmmainnet", "tevmtestnet"];

/// Clap value parser for [`ChainSpec`]s.
///
Expand All @@ -42,10 +42,6 @@ pub fn chain_value_parser(s: &str) -> eyre::Result<Arc<ChainSpec>, eyre::Error>
"tevmmainnet" => reth_chainspec::TEVMMAINNET.clone(),
#[cfg(feature = "telos")]
"tevmtestnet" => reth_chainspec::TEVMTESTNET.clone(),
#[cfg(feature = "telos")]
"tevmmainnet-base" => reth_chainspec::TEVMMAINNET_BASE.clone(),
#[cfg(feature = "telos")]
"tevmtestnet-base" => reth_chainspec::TEVMTESTNET_BASE.clone(),
_ => Arc::new(parse_custom_chain_spec(s)?),
})
}
Expand Down

0 comments on commit 158b507

Please sign in to comment.