Skip to content

Commit

Permalink
fix: opdn
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Aug 16, 2024
1 parent 6375e05 commit 5c211c2
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
members = ["crates/*", "bin/*"]
default-members = ["bin/opt8n", "bin/opd8n", "bin/range-finder"]
default-members = ["bin/opt8n", "bin/opdn", "bin/range-finder"]
resolver = "2"

[workspace.package]
Expand Down
2 changes: 1 addition & 1 deletion bin/opd8n/Cargo.toml → bin/opdn/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "opd8n"
name = "opdn"
version = "0.2.0"
edition.workspace = true
authors.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion bin/opd8n/README.md → bin/opdn/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `opd8n`
# `opdn`

A CLI-tool for creating derivation test fixtures.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use tracing::{debug, error, info, trace, warn};
/// The logging target to use for [tracing].
const TARGET: &str = "from-l1";

/// CLI arguments for the `from-l1` subcommand of `opd8n`.
/// CLI arguments for the `from-l1` subcommand of `opdn`.
#[derive(Parser, Clone, Debug)]
pub struct FromL1 {
/// The L1 block number to start from
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use tracing::{debug, error, info, trace, warn};
/// The logging target to use for [tracing].
const TARGET: &str = "from-l2";

/// CLI arguments for the `from-l2` subcommand of `opd8n`.
/// CLI arguments for the `from-l2` subcommand of `opdn`.
#[derive(Parser, Clone, Debug)]
pub struct FromL2 {
/// The L2 block number to start from
Expand Down
2 changes: 1 addition & 1 deletion bin/opd8n/src/cmd/info.rs → bin/opdn/src/cmd/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use reqwest::Url;
use std::sync::Arc;
use superchain_registry::ROLLUP_CONFIGS;

/// CLI arguments for the `info` subcommand of `opd8n`.
/// CLI arguments for the `info` subcommand of `opdn`.
#[derive(Parser, Clone, Debug)]
pub struct Info {
/// The L2 Chain ID
Expand Down
2 changes: 1 addition & 1 deletion bin/opd8n/src/cmd/mod.rs → bin/opdn/src/cmd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub mod from_l2;
pub mod info;
pub use fixtures::build_fixture_blocks;

/// Main opd8n CLI
/// Main CLI
#[derive(Parser, Clone, Debug)]
#[command(author, version, about, long_about = None)]
pub struct Cli {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion bin/opd8n/src/main.rs → bin/opdn/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ use clap::Parser;

#[tokio::main]
async fn main() -> color_eyre::Result<()> {
opd8n::Cli::parse().init_telemetry()?.run().await
opdn::Cli::parse().init_telemetry()?.run().await
}

0 comments on commit 5c211c2

Please sign in to comment.