From a64bd8cd9036b6ddae8419bd04b6d104844e34cf Mon Sep 17 00:00:00 2001 From: MD Aleem <72057206+aleem1314@users.noreply.github.com> Date: Mon, 11 Jan 2021 18:21:42 +0530 Subject: [PATCH] [docs] x/crisis - general audit and cleanup (#8269) * update docs * review changes Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com> --- x/crisis/spec/01_state.md | 2 +- x/crisis/spec/02_messages.md | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/x/crisis/spec/01_state.md b/x/crisis/spec/01_state.md index cbb949b0e3..581c79dc0e 100644 --- a/x/crisis/spec/01_state.md +++ b/x/crisis/spec/01_state.md @@ -14,5 +14,5 @@ with the standard gas consumption method. The ConstantFee param is held in the global params store. - - Params: `mint/params -> amino(sdk.Coin)` + - Params: `mint/params -> legacy_amino(sdk.Coin)` diff --git a/x/crisis/spec/02_messages.md b/x/crisis/spec/02_messages.md index 93a01aec26..8634c8f9f5 100644 --- a/x/crisis/spec/02_messages.md +++ b/x/crisis/spec/02_messages.md @@ -11,12 +11,7 @@ corresponding updates to the state. Blockchain invariants can be checked using the `MsgVerifyInvariant` message. -```go -type MsgVerifyInvariant struct { - Sender sdk.AccAddress - InvariantRoute string -} -``` ++++ https://github.com/cosmos/cosmos-sdk/blob/v0.40.0-rc7/proto/cosmos/crisis/v1beta1/tx.proto#L14-L22 This message is expected to fail if: - the sender does not have enough coins for the constant fee