soroban-cli
soroban-cli copied to clipboard
Contract read help usage instructions are incorrect
What version are you using?
❯ soroban version
soroban 21.0.0-preview.1 (a643000a6cc15bf4bdf1e358881e5671834806b7)
soroban-env 21.0.1 (f2b734b6360ae04ba730307be3988619dd0f59a3)
soroban-env interface version 90194313216
stellar-xdr 21.0.1 (da0cbc6f75eaf03423810b8e9d730a03dfa8517e)
xdr curr (1a04392432dacc0092caaeae22a600ea1af3c6a5)
a643000a6cc15bf4bdf1e358881e5671834806b7
What did you do?
soroban contract read --help
What did you expect to see?
Usage instructions about the read command for each option.
What did you see instead?
Usage instructions about extending the TTL of entries:
❯ soroban contract read --help
...
Options:
...
--wasm <WASM>
Path to Wasm file of contract code to extend
--wasm-hash <WASM_HASH>
Path to Wasm file of contract code to extend
Discussions
It's unclear to me if the bug are the descriptions, or if these fields just shouldn't be here given that the read command is self described as being for reading contract data entries only.