Skip to content

Commit

Permalink
fix: docs and test
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jun 20, 2024
1 parent f45d38e commit bc06dfb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 19 deletions.
26 changes: 13 additions & 13 deletions FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Get Id of builtin Soroban Asset Contract. Deprecated, use `soroban contract id a
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand All @@ -245,7 +245,7 @@ Deploy builtin Soroban Asset Contract
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand Down Expand Up @@ -408,7 +408,7 @@ If no keys are specified the contract itself is extended.
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand Down Expand Up @@ -452,7 +452,7 @@ Deploy a wasm contract
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand Down Expand Up @@ -535,7 +535,7 @@ Deploy builtin Soroban Asset Contract
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand All @@ -561,7 +561,7 @@ Deploy normal Wasm Contract
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand Down Expand Up @@ -637,7 +637,7 @@ Install a WASM file to the ledger without creating a contract instance
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand Down Expand Up @@ -698,7 +698,7 @@ soroban contract invoke ... -- --help
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand Down Expand Up @@ -779,7 +779,7 @@ Print the current value of a contract-data ledger entry
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand Down Expand Up @@ -826,7 +826,7 @@ If no keys are specificed the contract itself is restored.
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand Down Expand Up @@ -1501,7 +1501,7 @@ Simulate a transaction envelope from stdin
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand All @@ -1526,7 +1526,7 @@ Sign a transaction with a ledger or local key
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand All @@ -1551,7 +1551,7 @@ Send a transaction envelope to the network
Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `-y`, `--yes`Confirm that a signature can be signed by the given keypair automatically
* `-y`, `--check`Check with user before signature

Possible values: `true`, `false`

Expand Down
6 changes: 1 addition & 5 deletions cmd/crates/soroban-test/tests/it/integration/custom_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ use super::util::invoke_with_roundtrip;

fn invoke_custom(e: &TestEnv, id: &str, func: &str) -> assert_cmd::Command {
let mut s = e.new_assert_cmd("contract");
s.arg("invoke")
.arg("--id")
.arg(id)
.arg("--")
.arg(func);
s.arg("invoke").arg("--id").arg(id).arg("--").arg(func);
s
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub enum Error {
Ledger(#[from] stellar_ledger::Error),
#[error(transparent)]
Xdr(#[from] xdr::Error),
#[error("User cancelled signing, perhaps need to add -y")]
#[error("User cancelled signing, perhaps need to remove --check")]
UserCancelledSigning,
}

Expand Down

0 comments on commit bc06dfb

Please sign in to comment.