[backport/v0.41.x] x/crisis - general audit and cleanup (#8269) (#8303)

This commit is contained in:
MD Aleem 2021-02-17 15:33:21 +05:30 committed by GitHub
parent d685701a6c
commit 3e6b7e8793
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 9 deletions

View File

@ -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)`

View File

@ -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/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

View File

@ -6,9 +6,9 @@ order: 3
The crisis module emits the following events:
## Handlers
## MsgServer
### MsgVerifyInvariance
### MsgVerifyInvariant
| Type | Attribute Key | Attribute Value |
|-----------|---------------|------------------|