Skip to content

Instantly share code, notes, and snippets.

@jtremback
Last active April 8, 2022 21:15
Show Gist options
  • Save jtremback/81ef736bb042a48f6fc6f90fe028ada8 to your computer and use it in GitHub Desktop.
Save jtremback/81ef736bb042a48f6fc6f90fe028ada8 to your computer and use it in GitHub Desktop.

For this consumer chain configuration, we are avoiding everything that could cause a problem. This configuration does not have goverance, and there is no way to change parameters (other than a chain update). There is an optional native token, but it is not a staking token. If the native token is enabled, there is a modified mint module with a fixed inflation percentage as a parameter. If the native token is not enabled, then there are no inflationary rewards on the chain.

Fees can be paid in the native token, or in a token transferred over IBC (such as the Atom). Fees and inflation rewards (fees only if the native token is not enabled), are split in a configurable percentage. One part goes to the provider chain, and the other part goes to a special module on the consumer chain. This module can be customized, but by default it will send the coins on to a configurable personal address or multi-sig.

Changes from a normal Cosmos-SDK chain:

  • Staking module is disabled
  • Governance module is disabled
  • Distribution module is disabled (Rigel is this correct?)
  • Staking module functions called by slashing module are provided by the CCV module
  • Mint module has a fixed inflation percentage, and can be disabled
  • Genutil module is disabled
  • CCV module is enabled
  • Consumer redistribute module sends fees and rewards to an address configured in params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment