Skip to content

Add provider slashing to back availability commitments #52

Description

@flo2517

Apply economic penalties to providers that fail their availability commitments, so that bonded stake — not just forgone rewards — backs a provider's promise. ADR-011 §5 shipped validator rewards but deliberately deferred slashing, stating that "slashing stake for provably bad submissions is the intended long-term deterrent but its economic parameters need their own analysis". This issue is that analysis and its implementation.

Blocked by: ADR-015 (see ADR-012 §6) — no implementation before acceptance.

Acceptance criteria:

  • ADR-015 fixes the economic parameters: what fraction is slashed, for what evidence, over what window, and where slashed funds go;
  • slashing triggers only on evidence that is attributable, non-repudiable, and already on-chain — never on a single validator's unaggregated word;
  • the interaction with dispute_round and resolve_dispute in blockchain/pallets/network-validator/src/lib.rs is explicit: a slash cannot be finalized while the round that justifies it is disputed, and an upheld dispute reverses it;
  • an appeals path exists with a bounded window and a defined resolution origin; governance capture of that origin is addressed by Decentralize identity, governance, and validator operations #36;
  • false-positive protection is quantified: a provider suffering a network partition or a validator committee acting in bad faith must not be slashed on quorum-of-colluders alone;
  • all balance arithmetic is checked; a slash can never underflow stake, never exceed the bond, and never leave an inconsistent unbonding position;
  • degraded quorum reduces confidence rather than producing a slash;
  • tests cover a justified slash, a slash reversed by an upheld dispute, a slash attempted during an open dispute window, a colluding minority failing to trigger a slash, double-slash for the same round, and slash-then-exit races against UnbondingPeriod.

Original request (FR, preserved verbatim):

Mettre en place des pénalités financières (slashing) pour les providers qui ne respectent pas leurs engagements de disponibilité.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:blockchainSubstrate runtime, node, pallets, and bridgecomponent:validatorIndependent proof verification and provider scoring networkpriority:highHigh-priority MVP worktype:securitySecurity hardening

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions