-
Notifications
You must be signed in to change notification settings - Fork 132
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
feat: add paymaster guard module #1252
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd the label graphite-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
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.
Looks good! Some minor comments inline.
account-kit/smart-contracts/src/ma-v2/modules/paymaster-guard-module/module.ts
Outdated
Show resolved
Hide resolved
account-kit/smart-contracts/src/ma-v2/modules/paymaster-guard-module/module.ts
Outdated
Show resolved
Hide resolved
df3501a
to
45d889c
Compare
d161f12
to
4e59a6f
Compare
99e1b4a
to
fe4493f
Compare
fix: lint fix: review fixes feat: add view functions and user op calldata encodings feat: add paymaster guard module impl feat: adds tests for paymaster guard module chore: clean up comments refactor: removes unnecessary .resolves.not.toThrowError() fix: removes value field from encodeAbiParameters args
fe4493f
to
e138cd6
Compare
Pull Request Checklist
yarn test
)site
folder, and guidelines for updating/adding docs can be found in the contribution guide)feat!: breaking change
)yarn lint:check
) and fix any issues? (yarn lint:write
)PR-Codex overview
This PR focuses on enhancing the
PaymasterGuardModule
functionality by adding installation and uninstallation processes, as well as testing scenarios for valid and invalid paymaster usage within theinstallValidation
actions.Detailed summary
DEFAULT_OWNER_ENTITY_ID
ininstallValidation.ts
.PaymasterGuardModule
withencodeOnInstallData
andencodeOnUninstallData
methods inmodule.ts
.client.test.ts
to include scenarios for installing and uninstalling thePaymasterGuardModule
.