diff --git a/x/crisis/spec/05_client.md b/x/crisis/spec/05_client.md new file mode 100644 index 0000000000..bf7d6a4593 --- /dev/null +++ b/x/crisis/spec/05_client.md @@ -0,0 +1,24 @@ + +# Client + +## CLI +A user can query and interact with the `crisis` module using the CLI. + +### Transactions +The `tx` commands allow users to interact with the `crisis` module. +```bash +simd tx crisis --help +``` + +#### invariant-broken +The `invariant-broken` command submits proof when an invariant was broken to halt the chain +```bash +simd tx crisis invariant-broken [module-name] [invariant-route] [flags] +``` + +Example: +```bash +simd tx crisis invariant-broken bank total-supply --from=[keyname or address] +``` \ No newline at end of file diff --git a/x/crisis/spec/README.md b/x/crisis/spec/README.md index 3704da56d1..358fe38e3d 100644 --- a/x/crisis/spec/README.md +++ b/x/crisis/spec/README.md @@ -22,3 +22,5 @@ application initialization process. 3. **[Events](03_events.md)** - [Handlers](03_events.md#handlers) 4. **[Parameters](04_params.md)** +5. **[Client](05_client.md)** + - [CLI](05_client.md#cli)