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
PaymentPool.setFeeRouter (GOVERNANCE_ROLE) can permanently brick on-chain governance. DecdnGovernor.feeRouter is immutable, but the router that records the bytesPerEpoch vote-weight feed is the governance-mutable PaymentPool.feeRouter. One proposal can sever the feed.
Mechanism
Vote weight = feeRouter.bytesPerEpoch(op, e) over a trailing window (DecdnGovernor._getVotes), read from the immutableDecdnGovernor.feeRouter.
bytesPerEpoch is written only by FeeRouter.routeSettlement (ROUTER_CALLER_ROLE), called by PaymentPool.
setFeeRouter(newRouter) repoints settlements to a new router → the immutable Governor router stops receiving byte updates → over ~13 epochs every operator's weight decays to 0 → quorum unreachable → no proposal can pass again, including recovery.
Also a money-skim vector (redemptions route through the attacker's router).
Doesn't need a malicious majority — a compromised bootstrap multisig or one careless proposal suffices.
On-chain today (Arbitrum Sepolia)
PaymentPool.feeRouter == Governor.feeRouter == 0xd7B0282d… — coupled today, but the setter permits divergence with no cross-check.
Fix
Preferred: make PaymentPool.feeRouter immutable (constructor-set, delete setFeeRouter). Closes the brick and the money-skim; consistent with the all-immutable contract philosophy (rotate = redeploy). Alt (only if router rotation must survive): record bytesPerEpoch in a dedicated, immutably-wired served-bytes registry separate from the money-splitting FeeRouter.
Acceptance criteria
No governance path can change the router feeding DecdnGovernor vote weight.
Test: repoint attempt reverts / is compiled out; the Governor's bytesPerEpoch feed is un-severable.
Activity
feat(contracts)!: governance hardening — bound capture, remove struct…