Repository navigation
Description
Five docs still describe a 24-hour counter-evidence window on SlashJudge — a mechanism that does not exist and, per ADR 014, deliberately never shipped. ADR 014 § Bond Handling is unambiguous:
All three offenses (phantom, rate manipulation, blacklist): if on-chain verification passes, the slash executes synchronously at reveal time (inside the
submit*Challengecall, after a priorcommitChallenge) — no counter-evidence window.
A challenge that passes verification always slashes the node — there is no second-stage dispute that could forfeit the bond after-the-fact.
The contract agrees (contracts/src/SlashJudge.sol:26-31, contracts/src/interfaces/ISlashJudge.sol:11). The operator's actual recourse is SlashAppeal.openSlashAppeal (ADR 028), not counter-evidence.
Found while reviewing #1451. Not introduced by it — pre-existing drift, filed separately to keep that PR scoped.
Sites
1. docs/runbook.md:141-145 — operator-facing, highest impact
2. **Submit counter-evidence on-chain within the 24-hour challenge window.**
The procedure is defined in
[ADR 014](../adr/014-on-chain-verification.md); deadlines are absolute
wall-clock — once the window closes the slash is final.
This is a remediation runbook step citing ADR 014 for a procedure ADR 014 explicitly says does not exist. An operator following it during a live slash incident burns their remediation window on a transaction they cannot send, and the real recourse — filing a SlashAppeal within the ADR 028 filing window — goes unmentioned. Line 141 ("counter-evidence filed while the underlying problem persists…") has the same problem.
Fix: replace with the openSlashAppeal flow and its actual filing window.
2. adr/glossary.md:56 — states a bond disposition that cannot occur
| **Challenge bond** | … Returned on successful slash, forfeited on successful
node counter (50% burned, 50% to node) — see [ADR 014 § Bond Handling](…) |
Directly contradicts the section it cites. There is no node-counter path, so the bond is never forfeited this way.
Fix: Returned on successful slash; never transferred on a failed verification (the reveal reverts) and never forfeited after the fact — there is no counter-evidence window.
3. adr/glossary.md:51 — attributes a nonexistent mechanism to SlashJudge
| **`SlashJudge`** | … verifies slash signatures, manages challenge bonds,
runs counter-evidence windows, calls `CapacityBond.slash()` … |
Fix: runs counter-evidence windows → runs the two-phase commit–reveal flow, which is what the contract does.
4. adr/016-contract-interactions.md:297 — deploy reference lists a constructor arg that doesn't exist
| 12 | SlashJudge | CapacityBond address, TOKEN address, `challengeBond` (100 TOKEN), `counterEvidenceWindow` (24h) |
Actual signature (contracts/src/SlashJudge.sol:209-216):
constructor(
ICapacityBondSlasher capacityBond_,
IERC20 token_,
IContentBlacklistHashView contentBlacklist_,
uint256 challengeBond_,
uint256 maxEvidenceAgeUs_,
address admin
)So the row invents counterEvidenceWindow and omits contentBlacklist_, maxEvidenceAgeUs_, and admin. This table's whole purpose is to be a deploy-time reference.
5. adr/003-payments.md:278
Hold violations under OOM / under-provisioning fall to the same 24-hour
counter-window; eviction logs are not on-chain verifiable, so only
delivery-receipt counter-evidence rebuts.
Same stale mechanism. Note the surrounding paragraph (:277) is already correct — it says the slash executes at reveal time — so the file contradicts itself one line apart.
Confirmed correct — do not "fix" these
A sweep for counter-evidence turns up four more hits that are accurate and should be left alone:
adr/028-slashing-appeals.md:20— explicitly says "no in-protocol counter-evidence opportunity"adr/appendix-operator-key-rotation.md:83— "no key-bound counter-evidence flow exists"adr/028-slashing-appeals.md:81— off-chain evidence surfacing during the multisig review window, a different mechanismadr/011-content-takedown.md:359— the blacklist-appeal flow, also distinct
Why this drifted undetected
Nothing checks ADR prose against contract signatures, and the adr reference hygiene pre-commit hook validates link/anchor structure, not claims. All five sites keep resolving links to ADR 014 — they just say the opposite of what it says.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity