Repository navigation
Description
ADR 024 defers high-frequency signing to a Production plan built on Safe-7579 + erc7579/smartsessions session keys. That plan needs a reality check before it stays canon: since ADR 003's capability delegation landed (#1824), most of its motivation is gone, and its feasibility was never validated.
What capabilities already cover
The client/buyer side is superseded. A pool owner (EOA or Safe) issues a capped, expiring capability to a hot EOA signer — scope-limiting, a spending bound, and expiry-based revocation with zero account-abstraction machinery. ADR 012 already concedes this ("a capability-authorized signer already delivers most of that shape without any account-abstraction machinery"), and ADR 003's voucher path deliberately requires EOA signers for cheap lane redemption anyway.
The residual the plan still claims to solve
- A smart account that must sign for itself — concretely, a Safe-addressed node operator signing
slash_sigon everyProbeResponse/StreamResponseat wire speed.registerNodebindsmsg.senderand requesters verifyslash_sigoff-chain by recovery, so a Safe-addressed operator can be probed but not paid. - The off-chain ERC-1271 verification branch (ADR 024 § Off-Chain ERC-1271 Verification), which the ADR itself gates on the session-key work ("it belongs with the session-key work above rather than ahead of it").
Feasibility questions to answer
- Does
smartsessions' ERC-1271 route actually validate the raw EIP-712 digests deCDN uses (slash_sig, vouchers,BindNodeId) for off-chain verifiers, at acceptable cost? Nodes verify by recovery today; the ERC-1271 branch costs an L2 RPC round-trip and a policy-module dependency on every verifier. - The policy encodings are unspecified — ADR 024 punts to "a follow-up ADR will pin down the specific policy encodings." That follow-up does not exist.
- Safe-7579 adapter + smartsessions maturity/audit posture as a dependency for slash-critical signing.
- Is the residual worth the surface at all? The alternative is declaring the current posture permanent: operators serve from a software-held EOA; Safe custody is available for every cold path (bond, register, pool open/close, unbond) and for pool owners via capability-delegated EOA signers.
Decision to make
Keep (with feasibility validated and the policy follow-up written), trim to the operator-custody residual only, or retire the Production plan like the other design-ahead mechanisms. If retired, the dependents go with it in the same PR: ADR 012's production key-custody rows, the session-key sections of adr/appendix-operator-key-rotation.md, ADR 019's wallet/paymaster bullet, the ADR 024 summary in adr/architecture.md, and the RotateKeyTarget doc note in crates/common/src/cli/node.rs.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity
docs(adr): fix stale ADR 024 citations and add CHANGELOG entry (#1848)
docs(adr): retire ADR 024 ERC-7579 session-key production plan (#1848) (
feat(client-pull): thread per-candidate coverage into the consumption…
feat(client-pull): give the Downloader a progress hook (#1848)
fix(cli): fail over the stdout stream's header probe across candidates (
feat(client-pull): let the Downloader fetch to caller-chosen paths (#…
feat(cli): route decdn fetch -o file through the Downloader face (#1848)
feat(client-pull): let the Downloader share a bundle run's ledger reg…
feat(cli): route bundle pull's whole-file fetch through the Downloader (
fix(client-pull): don't materialize the whole blob to tee a non-cachi…
Merge branch 'main' into claude/trusting-raman-1b3304
Merge branch 'main' into claude/trusting-raman-1b3304
feat(client-pull): add Downloader and Streamer consumption faces over…
feat(cli): route decdn fetch and bundle pull onto the consumption fac…