Skip to content

feat: add step 1 to money account upgrade controller#8565

Draft
Jwhiles wants to merge 2 commits intomainfrom
MUSD-448
Draft

feat: add step 1 to money account upgrade controller#8565
Jwhiles wants to merge 2 commits intomainfrom
MUSD-448

Conversation

@Jwhiles
Copy link
Copy Markdown
Contributor

@Jwhiles Jwhiles commented Apr 23, 2026

Explanation

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

export const eip7702AuthorizationStep: Step = {
name: 'eip-7702-authorization',
async run({ messenger, address, chainId, delegatorImplAddress }) {
const existing = await messenger.call(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think existing might not be the best check. If can exist but be a wrong one (example lower nonce). Maybe checking if account is actually upgraded might be better. You can check how the existing upgrade account works and how it checks / saves the ones that are already upgraded.

Because if its already upgraded this step can be skipped altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants