Skip to content

Commit 05d442f

Browse files
Address feedback: update xdr error
1 parent d3fdc92 commit 05d442f

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

FULL_HELP_DOCS.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,16 +1614,14 @@ Edit the sequence number on a transaction
16141614

16151615
Fetch the source account's seq-num and increment for the given tx
16161616

1617-
**Usage:** `stellar tx update sequence-number next [OPTIONS] --source-account <SOURCE_ACCOUNT>`
1617+
**Usage:** `stellar tx update sequence-number next [OPTIONS]`
16181618

16191619
###### **Options:**
16201620

16211621
* `--rpc-url <RPC_URL>` — RPC server endpoint
16221622
* `--rpc-header <RPC_HEADERS>` — RPC Header(s) to include in requests to the RPC provider
16231623
* `--network-passphrase <NETWORK_PASSPHRASE>` — Network passphrase to sign the transaction sent to the rpc server
16241624
* `-n`, `--network <NETWORK>` — Name of network to use from config
1625-
* `-s`, `--source-account <SOURCE_ACCOUNT>` — Account that where transaction originates from. Alias `source`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If `--build-only` or `--sim-only` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail
1626-
* `--hd-path <HD_PATH>` — If using a seed phrase, which hierarchical deterministic path to use, e.g. `m/44'/148'/{hd_path}`. Example: `--hd-path 1`. Default: `0`
16271625
* `--global` — Use global config
16281626
* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
16291627

cmd/soroban-cli/src/commands/tx/update/sequence_number/next.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub enum Error {
2323
XdrStdin(#[from] XdrParsingError),
2424
#[error(transparent)]
2525
Xdr(#[from] xdr::Error),
26-
#[error("only V1 transactions are supported")]
26+
#[error("V0 and fee bump transactions are not supported")]
2727
Unsupported,
2828
#[error(transparent)]
2929
RpcClient(#[from] crate::rpc::Error),

0 commit comments

Comments
 (0)