Introduction:
We would like to propose adding new features to the current validator-bond
parameter. Presented as a way to make validators have some “skin in the game”, we thought this idea could be pushed further in that direction. We think it could become a transparent slashing insurance, being slashed primarily before the delegators’ stake. We will elaborate on the benefits through this post.
Context:
The
validator-bond
is a particular transaction type within the staking module of the Cosmos SDK, primarily utilized in the Liquid Staking Module (LSM) context. It currently employs a 250x parameter, requiring each validator to bond a specific amount to accept liquid staking providers’ delegations. In simpler terms, a validator must bond 1 ATOM to be eligible to receive up to 250 ATOMs in liquid stake delegations.
1. Validator-Bond Mechanism:
A delegator (or validator operator) can convert a delegation into Validator Bond by signing a ValidatorBond message. The message is exposed by the staking module and can be executed as follows:
gaiad tx staking validator-bond ValidatorAddress --from mykey
To convert a validator bond into regular delegation, you can either unbond or redelegate the shares. This action decreases the validator bond linked to a validator. If reducing the validator bond for a delegator would result in more than 250 times the new validator bond being delegated in liquid staked ATOM to that validator, the unbonding or redelegation won’t be successful. In this situation, the delegator won’t be able to unbond until the amount of ATOM liquid staked to the validator decreases, or the validator bond increases.
2. Slashing Mechanism:
Slashing occurs under several conditions, notably:
- Double Signing: A validator signs two different blocks at the same height on the same chain, indicating a double-spend attempt or equivocation.
- Downtime: A validator fails to participate in the consensus process for a specified period, missing block proposals and validations.
- Invalid State Transitions: Proposing blocks that result in invalid state transitions.
The slashing mechanism in the Cosmos SDK is implemented through the x/slashing module. This module handles evidence of misbehavior and imposes penalties accordingly. The x/staking module interacts with the slashing module to apply penalties, which involve:
- Token Reduction: A percentage of the validator’s staked tokens is burned or redistributed.
- Jailing: The validator is temporarily suspended from participating in consensus, preventing further damage.
3. Slashing Insurance Mechanism:
The concept relies on a “validator-bond”, separate from regular delegator stakes, which will be slashed first in the event of misbehavior. These bonds serve as collateral, providing an extra layer of security for delegators.
To enable such feature, we would introduce a “Priority Slashing Mechanism”:
- Slashing Logic: we adjust to prioritize the slashing of validator bonds over regular staked tokens.
- Slashing Process: Upon detection of misbehavior, the slashing mechanism checks the validator’s bond and the liquid staked delegations. First we deduct the base amount of bond required to sustain the liquid stake multiplier (250x), If the remaining bond is sufficient to cover the penalty, it is slashed. If it is insufficient, the remaining penalty is applied to the regular staked tokens.
4. Adjustable Parameters:
We propose governance can adjust parameters such as the fraction of penalties to be covered by validator-bonds depending on each slashing condition (double signing, downtime, and invalid state transitions). We propose to initially enable this mechanism for downtime only as they currently incur a minimal 0,01% slashing penalty.
5. Network Benefits:
-
Incentive Structure: Validators are incentivized to maintain sufficient bonds to attract delegators. Delegators are more likely to stake with validators who maintain higher bonds, perceiving lower risks.
-
Economic Security: The slashing insurance mechanism enhances economic security by ensuring that validators have a significant stake at risk, deterring misbehavior more effectively. Validators are directly penalized, protecting the network and its participants.
-
Trust and Participation: Delegators are more likely to participate and stake their tokens when they have assurance that their investments are protected from slashing. This mechanism builds trust within the network, encouraging greater participation.
-
Validator Accountability: Validators are held more accountable for their actions, as they bear the primary financial risk for misbehavior. This encourages diligent and honest behavior, contributing to the overall stability and reliability of the Cosmos network.
Conclusion
The introduction of a slashing insurance mechanism using validator-bonds provides a robust solution to protect delegators from slashing penalties. By prioritizing the slashing of validator-specific bonds, this mechanism offers an on-chain, trustless, and verifiable insurance system. This enhances the economic security of the network, builds trust among participants, and ensures greater accountability for validators. The system is designed to be completely voluntary for validators, allowing them to opt in or out at their discretion.
We hope you will find this proposition valuable and we look forward to gather community feedback and potential improvement suggestions during this discussion phase of the CHIPs process.