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
Incentive: implement off-chain ERC-1271 verification for smart-account clients #1186
verify_binding rejects any signature length != 65 (EOA-only) (crates/incentive/src/bind_sig.rs:146), so Safe/smart-account clients can't use the off-chain binding path at all.
Action: when the client's address has code, call IERC1271.isValidSignature and compare against the magic value; keep ecrecover for EOAs.
Filed from the ADR→implementation gap analysis. ADR edits must be made in place with no historical/tombstone text (no "planned but cut" sentences) per repo ADR convention.
Triage note for a later automated run: the action is prescriptive (add an ERC-1271 isValidSignature branch for contract accounts, keep ecrecover for EOAs), but dispatch is blocked on one structural decision. verify_binding (crates/incentive/src/bind_sig.rs:146) is currently signature-length-gated and synchronous, whereas IERC1271.isValidSignature requires an on-chain call — so this needs a provider/chain handle plumbed in and likely an async surface. Specify where the provider comes from and whether verify_binding becomes async (or grows a separate async path), since that shapes the whole change and it is security-critical.
Activity
altanoruc commentedon Jul 17, 2026
Triage note for a later automated run: the action is prescriptive (add an ERC-1271
isValidSignaturebranch for contract accounts, keepecrecoverfor EOAs), but dispatch is blocked on one structural decision.verify_binding(crates/incentive/src/bind_sig.rs:146) is currently signature-length-gated and synchronous, whereasIERC1271.isValidSignaturerequires an on-chain call — so this needs a provider/chain handle plumbed in and likely an async surface. Specify where the provider comes from and whetherverify_bindingbecomes async (or grows a separate async path), since that shapes the whole change and it is security-critical.