# Crisis

WARNING

Paloma's crisis module inherits from the Cosmos SDK's crisis (opens new window) module. This document is a stub and covers mainly important Paloma-specific notes about 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 utilizes 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 (opens new window) are as follows:

    # Crisis: change constant fee to 512 GRAIN
    genesis['app_state']['crisis']['constant_fee'] = {
        'denom': DENOM_GRAIN,
        'amount': '512000000',
    }