-
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: adds time range module #1253
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. |
account-kit/smart-contracts/src/ma-v2/modules/time-range-module/module.ts
Outdated
Show resolved
Hide resolved
account-kit/smart-contracts/src/ma-v2/modules/time-range-module/module.ts
Show resolved
Hide resolved
account-kit/smart-contracts/src/ma-v2/modules/time-range-module/module.ts
Outdated
Show resolved
Hide resolved
df3501a
to
45d889c
Compare
d161f12
to
4e59a6f
Compare
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
ec759b8
to
6d7cee3
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 introduces a new
TimeRangeModule
for managing time-based operations in the smart contract system. It adds functionality for encoding installation and uninstallation data based on time constraints and includes tests for these functionalities.Detailed summary
EntityIdOverrideError
andDEFAULT_OWNER_ENTITY_ID
imports ininstallValidation.ts
.TimeRangeModule
with methods for encoding install and uninstall data inmodule.ts
.TimeRangeModule
inclient.test.ts
, verifying both valid and invalid time ranges.