Skip to content

Commit 689fb7b

Browse files
committed
chore: make docs
1 parent 7f9d689 commit 689fb7b

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

FULL_HELP_DOCS.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,12 @@ Deploy a wasm contract
496496
- `--instructions <INSTRUCTIONS>` — ⚠️ Deprecated, use `--instruction-leeway` to increase instructions. Number of instructions to allocate for the transaction
497497
- `--instruction-leeway <INSTRUCTION_LEEWAY>` — Allow this many extra instructions when budgeting resources with transaction simulation
498498
- `--cost` — Output the cost execution to stderr
499+
- `--auth-mode <AUTH_MODE>` — Set the authorization mode for transaction simulation. When unset, the RPC default is used: record with the root mode if no authorization entries exist, otherwise enforce the provided entries. Should only be set for `InvokeHostFunction` transactions
500+
501+
Possible values:
502+
- `enforce`: Validate the authorization entries already on the transaction
503+
- `root`: Record authorization entries, requiring each to be rooted at the transaction's top-level operation
504+
- `non-root`: Record all authorization entries, including non-root entries
499505

500506
###### **Signing Options:**
501507

@@ -864,6 +870,12 @@ Install a WASM file to the ledger without creating a contract instance
864870
- `--instructions <INSTRUCTIONS>` — ⚠️ Deprecated, use `--instruction-leeway` to increase instructions. Number of instructions to allocate for the transaction
865871
- `--instruction-leeway <INSTRUCTION_LEEWAY>` — Allow this many extra instructions when budgeting resources with transaction simulation
866872
- `--cost` — Output the cost execution to stderr
873+
- `--auth-mode <AUTH_MODE>` — Set the authorization mode for transaction simulation. When unset, the RPC default is used: record with the root mode if no authorization entries exist, otherwise enforce the provided entries. Should only be set for `InvokeHostFunction` transactions
874+
875+
Possible values:
876+
- `enforce`: Validate the authorization entries already on the transaction
877+
- `root`: Record authorization entries, requiring each to be rooted at the transaction's top-level operation
878+
- `non-root`: Record all authorization entries, including non-root entries
867879

868880
###### **Signing Options:**
869881

@@ -921,6 +933,12 @@ Install a WASM file to the ledger without creating a contract instance
921933
- `--instructions <INSTRUCTIONS>` — ⚠️ Deprecated, use `--instruction-leeway` to increase instructions. Number of instructions to allocate for the transaction
922934
- `--instruction-leeway <INSTRUCTION_LEEWAY>` — Allow this many extra instructions when budgeting resources with transaction simulation
923935
- `--cost` — Output the cost execution to stderr
936+
- `--auth-mode <AUTH_MODE>` — Set the authorization mode for transaction simulation. When unset, the RPC default is used: record with the root mode if no authorization entries exist, otherwise enforce the provided entries. Should only be set for `InvokeHostFunction` transactions
937+
938+
Possible values:
939+
- `enforce`: Validate the authorization entries already on the transaction
940+
- `root`: Record authorization entries, requiring each to be rooted at the transaction's top-level operation
941+
- `non-root`: Record all authorization entries, including non-root entries
924942

925943
###### **Signing Options:**
926944

@@ -978,6 +996,12 @@ stellar contract invoke ... -- --help
978996
- `--instructions <INSTRUCTIONS>` — ⚠️ Deprecated, use `--instruction-leeway` to increase instructions. Number of instructions to allocate for the transaction
979997
- `--instruction-leeway <INSTRUCTION_LEEWAY>` — Allow this many extra instructions when budgeting resources with transaction simulation
980998
- `--cost` — Output the cost execution to stderr
999+
- `--auth-mode <AUTH_MODE>` — Set the authorization mode for transaction simulation. When unset, the RPC default is used: record with the root mode if no authorization entries exist, otherwise enforce the provided entries. Should only be set for `InvokeHostFunction` transactions
1000+
1001+
Possible values:
1002+
- `enforce`: Validate the authorization entries already on the transaction
1003+
- `root`: Record authorization entries, requiring each to be rooted at the transaction's top-level operation
1004+
- `non-root`: Record all authorization entries, including non-root entries
9811005

9821006
###### **Signing Options:**
9831007

@@ -3916,6 +3940,12 @@ Simulate a transaction envelope from stdin
39163940
- `--rpc-header <RPC_HEADERS>` — RPC Header(s) to include in requests to the RPC provider, example: "X-API-Key: abc123". Multiple headers can be added by passing the option multiple times
39173941
- `--network-passphrase <NETWORK_PASSPHRASE>` — Network passphrase to sign the transaction sent to the rpc server
39183942
- `-n`, `--network <NETWORK>` — Name of network to use from config
3943+
- `--auth-mode <AUTH_MODE>` — Set the authorization mode for transaction simulation. When unset, the RPC default is used: record with the root mode if no authorization entries exist, otherwise enforce the provided entries. Should only be set for `InvokeHostFunction` transactions
3944+
3945+
Possible values:
3946+
- `enforce`: Validate the authorization entries already on the transaction
3947+
- `root`: Record authorization entries, requiring each to be rooted at the transaction's top-level operation
3948+
- `non-root`: Record all authorization entries, including non-root entries
39193949

39203950
###### **Signing Options:**
39213951

0 commit comments

Comments
 (0)