-
Notifications
You must be signed in to change notification settings - Fork 134
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 Native Token Limit Module Support #1233
feat: Add Native Token Limit Module Support #1233
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. |
5496c55
to
52071ce
Compare
8d1ac53
to
c9f2990
Compare
52071ce
to
afccbd9
Compare
c9f2990
to
7ee80c8
Compare
import { getDefaultSingleSignerValidationModuleAddress } from "../modules/utils.js"; | ||
import { | ||
getDefaultSingleSignerValidationModuleAddress, | ||
getDefaultAllowlistModuleAddress, |
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.
'getDefaultAllowlistModuleAddress' is defined but never used.
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.
Will address in the relevant pr!
import { getDefaultSingleSignerValidationModuleAddress } from "../modules/utils.js"; | ||
import { | ||
getDefaultSingleSignerValidationModuleAddress, | ||
getDefaultAllowlistModuleAddress, |
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.
'getDefaultAllowlistModuleAddress' is defined but never used.
* feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup
* feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup
* feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup
* feat: allowlist module installation and uninstallation * feat: Add Native Token Limit Module Support (#1233) * feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup * chore: remove only test specifier * test: test allowlist module usage * test: flesh out native token limit module test * chore: rebase fixes * fix: await useroperation results correctly * chore: remove redundant post hook * feat: allow hooks on the fallback validation * fix: fix error name mismatch * fix: remove unnecessary await wrapping * chore: removed unused module components, cleanup * chore: rearrange tests to handle polluted end states
* feat: allowlist module installation and uninstallation * feat: Add Native Token Limit Module Support (#1233) * feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup * chore: remove only test specifier * test: test allowlist module usage * test: flesh out native token limit module test * chore: rebase fixes * fix: await useroperation results correctly * chore: remove redundant post hook * feat: allow hooks on the fallback validation * fix: fix error name mismatch * fix: remove unnecessary await wrapping * chore: removed unused module components, cleanup * chore: rearrange tests to handle polluted end states
* feat: allowlist module installation and uninstallation * feat: Add Native Token Limit Module Support (#1233) * feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup * chore: remove only test specifier * test: test allowlist module usage * test: flesh out native token limit module test * chore: rebase fixes * fix: await useroperation results correctly * chore: remove redundant post hook * feat: allow hooks on the fallback validation * fix: fix error name mismatch * fix: remove unnecessary await wrapping * chore: removed unused module components, cleanup * chore: rearrange tests to handle polluted end states
* feat: allowlist module installation and uninstallation * feat: Add Native Token Limit Module Support (#1233) * feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup * chore: remove only test specifier * test: test allowlist module usage * test: flesh out native token limit module test * chore: rebase fixes * fix: await useroperation results correctly * chore: remove redundant post hook * feat: allow hooks on the fallback validation * fix: fix error name mismatch * fix: remove unnecessary await wrapping * chore: removed unused module components, cleanup * chore: rearrange tests to handle polluted end states
* feat: add ma v2 scaffolding with basic uo test * fix: review fixes * fix: some review fixes * fix: more review fixes * chore: rename abi files for clarity * chore: more fixes * chore: more fixes * chore: update abi types * chore: removing arbsepo instance * fix: more review fixes * fix: review fixes, improve getNonce implementation to be more friendly * chore: update sma type to include entity properties * fix: review fixes * fix: type in docs * fix: x * fix: reviews * feat: add install/uninstall validation (#1221) * feat: add install validation, add tests for session key * fix: lint * fix: review fixes * fix: tests * feat: add view functions and user op calldata encodings (#1223) * feat: add paymaster guard module 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 Co-authored-by: howydev <132113803+howydev@users.noreply.github.com> * feat: adds time range module fix: lint fix: review fixes feat: add view functions and user op calldata encodings feat: adds time module impl feat: adds time range module tests refactor: removes use of addresses, meta, and value field in args passed to encodeAbiParameters Co-authored-by: howydev <132113803+howydev@users.noreply.github.com> * feat: Implement Allowlist Module And Native Token Limit Module (#1232) * feat: allowlist module installation and uninstallation * feat: Add Native Token Limit Module Support (#1233) * feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup * chore: remove only test specifier * test: test allowlist module usage * test: flesh out native token limit module test * chore: rebase fixes * fix: await useroperation results correctly * chore: remove redundant post hook * feat: allow hooks on the fallback validation * fix: fix error name mismatch * fix: remove unnecessary await wrapping * chore: removed unused module components, cleanup * chore: rearrange tests to handle polluted end states * feat: add native signer, implement signMessage and signTypedData (#1246) * feat: add native signer, implement signMessage and signTypedData * chore: fix --------- Co-authored-by: Linna <38363056+linnall@users.noreply.github.com> Co-authored-by: Zer0dot <zer0dot.dev@gmail.com>
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 updating the handling of
entityId
types fromnumber
tobigint
, introducing thenativeTokenLimitModule
, and enhancing testing scenarios for module installations and validations.Detailed summary
entityId
type fromnumber
tobigint
inInvalidEntityIdError
.throw new EntityIdOverrideError()
inclient.ts
.nativeTokenLimitModule
withencodeOnInstallData
andencodeOnUninstallData
methods.nativeTokenLimitModule
.