-
Notifications
You must be signed in to change notification settings - Fork 205
chore: rename factoryAddress to factory #2302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR refactors the parameter naming for factory addresses across multiple smart account implementations, renaming factoryAddress to factory for consistency and alignment with the existing return structure where factory arguments use the shorter name.
Key Changes:
- Renamed
factoryAddressparameter tofactoryacross all account creation functions - Updated all references to use the new parameter name consistently
- Modified test assertions to reflect the parameter name change
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/smart-accounts/src/ma-v2/decorators/deferralActions.test.ts | Updated test assertion to use factory instead of factoryAddress |
| packages/smart-accounts/src/ma-v2/accounts/account.ts | Renamed factoryAddress parameter to factory in type definitions and function signature for Modular Account V2 |
| packages/smart-accounts/src/ma-v1/accounts/multi-owner-account.ts | Renamed factoryAddress parameter to factory in Multi-Owner Modular Account V1 implementation |
| packages/smart-accounts/src/light-account/accounts/multi-owner-account.ts | Renamed factoryAddress parameter to factory in Multi-Owner Light Account implementation |
| packages/smart-accounts/src/light-account/accounts/account.ts | Renamed factoryAddress parameter to factory and removed unnecessary formatting in Light Account implementation |
| docs-site | Updated documentation submodule reference |
🌿 Documentation Preview
|
jakehobbs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
https://linear.app/alchemy-fa-strike-force-7/issue/ALC-382/rename-factoryaddress-to-factory
PR-Codex overview
This PR primarily focuses on renaming the
factoryAddressproperty tofactoryacross multiple files in thepackages/smart-accountsdirectory, as well as enhancements to the build skipping logic in thescripts/vercel-ignore-build.sh.Detailed summary
factoryAddresstofactoryin:packages/smart-accounts/src/ma-v2/decorators/deferralActions.test.tspackages/smart-accounts/src/ma-v2/accounts/account.tspackages/smart-accounts/src/light-account/accounts/multi-owner-account.tspackages/smart-accounts/src/ma-v1/accounts/multi-owner-account.tspackages/smart-accounts/src/light-account/accounts/account.tsscripts/vercel-ignore-build.shfor better branch ancestry checks.