Skip to content

Commit

Permalink
incremental progress
Browse files Browse the repository at this point in the history
  • Loading branch information
loocapro committed Jul 8, 2024
1 parent 4f5dcc5 commit a163243
Show file tree
Hide file tree
Showing 11 changed files with 255 additions and 218 deletions.
17 changes: 14 additions & 3 deletions Cargo.lock

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

10 changes: 0 additions & 10 deletions crates/cli/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,9 @@ workspace = true
reth-cli-runner.workspace = true
reth-chainspec.workspace = true

# eth
alloy-genesis.workspace = true


# misc
clap.workspace = true
shellexpand.workspace = true
serde_json.workspace = true
eyre.workspace = true

[features]
optimism = [
"reth-chainspec/optimism",
]


Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ use clap::builder::TypedValueParser;
use reth_chainspec::ChainSpec;
use std::sync::Arc;

/// Ethereum chain specification parser.
#[cfg(not(feature = "optimism"))]
pub mod eth;

/// Optimism chain specification parser.
#[cfg(feature = "optimism")]
pub mod optimism;

/// Trait for parsing chain specifications.
///
/// This trait extends [`clap::builder::TypedValueParser`] to provide a parser for chain
Expand Down
90 changes: 0 additions & 90 deletions crates/cli/cli/src/chainspec/eth.rs

This file was deleted.

101 changes: 0 additions & 101 deletions crates/cli/cli/src/chainspec/optimism.rs

This file was deleted.

13 changes: 13 additions & 0 deletions crates/ethereum/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,16 @@ homepage.workspace = true
repository.workspace = true

[lints]
workspace = true

[dependencies]
reth-cli.workspace = true
reth-chainspec.workspace = true

alloy-genesis.workspace = true

eyre.workspace = true

shellexpand.workspace = true
serde_json.workspace = true
clap = { workspace = true, features = ["derive", "env"] }
Loading

0 comments on commit a163243

Please sign in to comment.