github.com/Finschia/finschia-sdk@v0.48.1/x/crisis/spec/02_messages.md (about)

     1  <!--
     2  order: 2
     3  -->
     4  
     5  # Messages
     6  
     7  In this section we describe the processing of the crisis messages and the
     8  corresponding updates to the state.
     9  
    10  ## MsgVerifyInvariant
    11  
    12  Blockchain invariants can be checked using the `MsgVerifyInvariant` message.
    13  
    14  +++ https://github.com/cosmos/cosmos-sdk/blob/v0.40.0-rc7/proto/cosmos/crisis/v1beta1/tx.proto#L14-L22
    15  
    16  This message is expected to fail if:
    17  
    18  - the sender does not have enough coins for the constant fee
    19  - the invariant route is not registered
    20  
    21  This message checks the invariant provided, and if the invariant is broken it
    22  panics, halting the blockchain. If the invariant is broken, the constant fee is
    23  never deducted as the transaction is never committed to a block (equivalent to
    24  being refunded). However, if the invariant is not broken, the constant fee will
    25  not be refunded.