Skip to content

fix: reject missing smart account factory data - #389

Open
ayaanoncrypto wants to merge 1 commit into
base:masterfrom
ayaanoncrypto:fix/require-factory-data
Open

fix: reject missing smart account factory data#389
ayaanoncrypto wants to merge 1 commit into
base:masterfrom
ayaanoncrypto:fix/require-factory-data

Conversation

@ayaanoncrypto

Copy link
Copy Markdown

Summary

Closes #377.

getFactoryArgs() now fails early with a clear BaseError when an undeployed smart account has no factoryData. This prevents downstream bundler failures caused by an undefined deployment payload.

How did you test your changes?

  • git diff --check
    • Added a regression test for the missing-factoryData path.
    • JavaScript dependencies were unavailable in the sandbox, so the focused Vitest run could not execute.

@cb-heimdall

cb-heimdall commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

@ayaanoncrypto
ayaanoncrypto force-pushed the fix/require-factory-data branch from ee486f4 to 22c9a21 Compare August 19, 2026 21:22
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.

createSmartAccount returns undefined factoryData for undeployed accounts

2 participants