You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retire slashing: SlashJudge, SlashAppeal, slash escrow and the unbonding window #2917
The protocol has no slashable offense left once rate-manipulation slashing and blacklist slashing go. Remove the slashing machinery and everything that exists only to support it.
Why
CapacityBond.slash is gated by SLASH_ROLE, and only SlashJudge holds that role.
SlashJudge has two offenses. RateManipulation goes with the voucher-less stream open that replaces cdn/probe/v1. Blacklist goes with the reduction of ContentBlacklist to regional tag lists. After both, SlashJudge adjudicates nothing.
The 14-day unbonding window exists only to outlast the slash evidence window (ADR 026 § Capacity-bond curve, ADR 014 § Interaction with unbonding period). With no slash, it protects nothing.
Scope
Contracts. Delete SlashJudge, ISlashJudge, SlashAppeal, SlashEscrowLib. In CapacityBond: delete slash, the tier ladder (SLASH_BPS_TIER_*), lifetimeOffenseCount, escrow-on-slash and finalizeUnappealedSlash, SLASH_ROLE, SLASH_APPEAL_ROLE and the settle hooks, the slashJudge evidence-age pointer, and the MAX_EVIDENCE_AGE_US < unbondingPeriod cross-check. Delete the unbonding window: an exit is immediate. In DecdnGovernor: delete _slashedInWindow and the slash zero-out of vote weight.
Rust. Delete the node slash_watcher and the incentive bindings for SlashJudge and SlashAppeal. Remove slash metrics.
CLI. Delete decdn appeal slash. Simplify unbond to an immediate exit.
Docs. Move ADR 028 to adr/_history/. ADR 014: move the secp256k1 EIP-712 StreamResponse signature scheme to ADR 005 (clients and origin attestations still use it) and retire the slashing-evidence part. ADR 026: remove § Slashing and burn and the unbonding rules. ADR 036: remove § Slashing zero-out and § Slashed-but-still-voting. ADR 009: remove slash-appeal authorization. Update adr/architecture.md, the glossary, CLAUDE.md (the "bounty-slash" key design decision) and the observability appendix.
Ordering
This lands after the stream-open change that retires rate-manipulation slashing and after the ContentBlacklist reduction that retires blacklist slashing.
Pre-mainnet, so the change is ABI-breaking with no compatibility path.
This is required for the mainnet beta (#2925): the beta ships with no slashing. Its ordering dependencies (the voucher-less stream open and the ContentBlacklist reduction) are therefore also needed before the beta.
Activity
alpergundogdu commentedon Nov 20, 2026
This is required for the mainnet beta (#2925): the beta ships with no slashing. Its ordering dependencies (the voucher-less stream open and the
ContentBlacklistreduction) are therefore also needed before the beta.Generated by Claude Code
refactor!: name the operator stream signature for what it is (#2939)