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
refactor: extract convertTransactionToRedeemDelegations as central entry point
Mirror the extension by introducing a single convertTransactionToRedeemDelegations
function in app/util/transactions/delegation.ts that handles caveats, executions,
optional EIP-7702 authorization, and unconditional flattening of nested
redeemDelegations.
- getDelegationTransaction is now a thin wrapper that defaults value to 0x0
- Delegation7702PublishHook uses the central function, removing ~100 lines of
duplicated delegation/execution/caveat assembly
- Flattening of nested redeemDelegations is automatic for every caller
0 commit comments