Skip to content

FAQ Replicated Security

Shawn edited this page Jan 25, 2023 · 3 revisions

Hi Cosmonauts !

This page is dedicated to offering answers to frequently asked questions on Replicated Security.

How does slashing work in Interchain Security?

Interchain Security guarantees the following properties when it comes to slashing:

  • A validator is slashed only once for double signing -- regardless of the number of chain it double signs on -- and then tombstoned, i.e., jailed forever.
  • A validator cannot get slashed multiple times for downtime on the same chain without having to unjail itself first.
  • A validator can get slashed multiple times for downtime on different chains without having to unjail itself first.

Note that validators get jailed on the provider if they misbehave on any consumer.

How does reward distribution work in Interchain Security?

Reward distribution is simple. The block rewards are collecting on every consumer and from time to time are sent to the provider’s distribution module via an IBC transfer. Once transferred, these rewards act as provider block rewards for the block in which the transfer was received, which means that they are distributed to the validators of that block. Note that there is some inaccuracy, but by having frequent IBC transfers, it is negligible.

What are the different time-related parameters in Interchain Security?

See https://github.com/cosmos/interchain-security/blob/main/docs/params.md#time-based-parameters.

For a normal consumer, the CCV module acts as the staking module. Why does a democracy consumer app have both a CCV and staking module?

For a democracy consumer, the consumer CCV module acts as a staking module for block production, i.e., keeps track of validators and their power when voting for new blocks. The gov-staking module is to keep track of representatives and their power when voting on governance.

Why does this repo maintain example (dummy) apps for both a normal consumer and democracy consumer?

A democracy consumer has extra modules needed by the chain to have its own native token used for governance.