Skip to content

Commit 866d6dd

Browse files
committedApr 28, 2024
add CLI documentation
1 parent b29c96a commit 866d6dd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎docs/docs/03-light-clients/04-wasm/08-client.md

+10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ simd tx ibc-wasm store-code [path/to/wasm-file] [flags]
2929

3030
`path/to/wasm-file` is the path to the `.wasm` or `.wasm.gz` file.
3131

32+
#### `migrate-contract`
33+
34+
The `migration-contract` command allows users to broadcast a transaction with a `MsgMigrateContract` to migrate the contract for a given light client to a new byte code denoted by the given checksum.
35+
36+
```shell
37+
simd tx ibc-wasm migration-contract [client-id] [checksum] [migrate-msg]
38+
```
39+
40+
The migrate message must not be emptied and is expected to be a JSON-encoded string.
41+
3242
### Query
3343

3444
The `query` commands allow users to query `08-wasm` state.

0 commit comments

Comments
 (0)