Crisis
ℹ️info
Terra's crisis module inherits from the Cosmos SDK's crisis
module. This document is a stub and mainly covers important Terra-specific notes on how it is used.
The crisis module stops block production by halting the blockchain when an invariant is broken. Invariants are set during the initialization process.
ConstantFee
Because the gas cost of verifying an invariant is high, the crisis module uses a constant fee instead of the typical gas calculation method.
Genesis parameters
The genesis parameters for the crisis module outlined in the Genesis Builder Script are as follows:
_5 # Crisis: change constant fee to 512 LUNA_5 genesis['app_state']['crisis']['constant_fee'] = {_5 'denom': DENOM_LUNA,_5 'amount': '512000000',_5 }