Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 8 commits into from
Feb 17, 2021
2 changes: 1 addition & 1 deletion x/crisis/spec/01_state.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`

7 changes: 1 addition & 6 deletions x/crisis/spec/02_messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
aleem1314 marked this conversation as resolved.
Show resolved Hide resolved

This message is expected to fail if:
- the sender does not have enough coins for the constant fee
Expand Down