Skip to content

Commit

Permalink
Correct wording for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cwkang1998 committed Nov 5, 2024
1 parent 8985d95 commit 9a54415
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions crates/sncast/src/starknet_commands/verify/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ pub struct Verify {
#[clap(flatten)]
pub contract_address_or_class_hash: ContractAddressOrClassHashGroup,

/// Class name of the contract to be verified. Either this or class hash should be provided.
/// Class name of the contract to be verified.
#[clap(short, long)]
pub class_name: String,

/// Where you want your contract to be verified
/// Verification provider to be used
#[clap(short, long, value_enum)]
pub verifier: Verifier,

Expand All @@ -50,7 +50,7 @@ pub struct Verify {
#[clap(long, default_value = "false")]
pub confirm_verification: bool,

/// Optionally specify package with the contract to be verified
/// Specify package with the contract to be verified
#[clap(long)]
pub package: Option<String>,

Expand Down
2 changes: 1 addition & 1 deletion docs/src/appendix/sncast/verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Verify Cairo contract on a chosen verification provider.
Required.
Conflicts with: `--class-hash`

The address of the contract that is to be verified. Either this or the class hash should be provided.
The address of the contract that is to be verified.

## `--class-hash, -c <CLASS_HASH>`
Required.
Expand Down
3 changes: 1 addition & 2 deletions docs/src/starknet/verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ Walnut is a tool for step-by-step debugging of Starknet transactions. You can le

### Voyager

[Voyager](https://voyager.online) is a block explorer for Starknet. It gives developers immediate insight into the state of the starknetnetwork. It also intends to become the one-stop location for all Starknet statistics. Note that Voyager requires you to specify the Starknet version in your `Scarb.toml` config file.

[Voyager](https://voyager.online) is a block explorer for Starknet. It gives developers immediate insight into the state of the Starknet network. Note that Voyager requires you to specify the Starknet version in your `Scarb.toml` config file.

## Example

Expand Down

0 comments on commit 9a54415

Please sign in to comment.