Skip to content

Commit 08dc84d

Browse files
committed
gnd: Remove obsolete --spkg flag from init command
The --spkg flag was for Substreams support which is not implemented in the init command. Removing the unused flag to avoid confusion. Addresses PR #6282 review feedback issue I4.
1 parent 9aff0e4 commit 08dc84d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

gnd/src/commands/init.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ pub struct InitOpt {
103103
#[clap(long)]
104104
pub abi: Option<PathBuf>,
105105

106-
/// Path to the SPKG file (for Substreams)
107-
#[clap(long)]
108-
pub spkg: Option<PathBuf>,
109-
110106
/// Network the contract is deployed to
111107
#[clap(long)]
112108
pub network: Option<String>,
@@ -1124,7 +1120,6 @@ mod tests {
11241120
assert!(!opt.skip_git);
11251121
assert!(opt.start_block.is_none());
11261122
assert!(opt.abi.is_none());
1127-
assert!(opt.spkg.is_none());
11281123
assert!(opt.network.is_none());
11291124
assert!(opt.ipfs.is_none());
11301125
}

0 commit comments

Comments
 (0)