Skip to content

Commit 200ad0a

Browse files
committed
update CLI name
1 parent df1d7fa commit 200ad0a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

crates/optimism/cli/src/commands/initialize_proofs.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ pub struct InitializeOpProofsCommand<C: ChainSpecParser> {
2525
///
2626
/// This should match the path used when starting the node with
2727
/// `--proofs-history.storage-path`.
28-
#[arg(long = "storage-path", value_name = "PROOFS_HISTORY_STORAGE_PATH", required = true)]
28+
#[arg(
29+
long = "proofs-history.storage-path",
30+
value_name = "PROOFS_HISTORY_STORAGE_PATH",
31+
required = true
32+
)]
2933
pub storage_path: PathBuf,
3034
}
3135

crates/optimism/exex/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ where
100100
// Check if proofs storage is initialized
101101
if self.storage.get_earliest_block_number().await?.is_none() {
102102
return Err(eyre::eyre!(
103-
"Proofs storage not initialized. Please run 'op-reth initialize-op-proofs --storage-path <PATH>' first."
103+
"Proofs storage not initialized. Please run 'op-reth initialize-op-proofs --proofs-history.storage-path <PATH>' first."
104104
));
105105
}
106106

0 commit comments

Comments
 (0)