Skip to content
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

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

linnall
Copy link
Collaborator

@linnall linnall commented Dec 20, 2024

Pull Request Checklist


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

  • Commented out EntityIdOverrideError and DEFAULT_OWNER_ENTITY_ID imports in installValidation.ts.
  • Added TimeRangeModule with methods for encoding install and uninstall data in module.ts.
  • Implemented tests for installing and uninstalling the TimeRangeModule in client.test.ts, verifying both valid and invalid time ranges.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2024 11:19pm
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2024 11:19pm

Copy link

graphite-app bot commented Dec 20, 2024

How to use the Graphite Merge Queue

Add 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.

@linnall linnall marked this pull request as ready for review December 20, 2024 20:25
@howydev howydev force-pushed the howy/add-mav2-uo-call-encoding branch from df3501a to 45d889c Compare December 20, 2024 21:35
Base automatically changed from howy/add-mav2-uo-call-encoding to howy/add-install-validation December 20, 2024 21:58
@howydev howydev force-pushed the howy/add-install-validation branch from d161f12 to 4e59a6f Compare December 20, 2024 22:02
Base automatically changed from howy/add-install-validation to howy/scaffold-v0.8 December 20, 2024 22:02
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
@linnall linnall force-pushed the linna/time-range-module-2 branch from ec759b8 to 6d7cee3 Compare December 20, 2024 23:06
@linnall linnall merged commit ca24d50 into howy/scaffold-v0.8 Dec 20, 2024
3 of 6 checks passed
@linnall linnall deleted the linna/time-range-module-2 branch December 20, 2024 23:13
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.

3 participants