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: add native signer, implement signMessage and signTypedData #1246

Merged
merged 2 commits into from
Dec 21, 2024

Conversation

howydev
Copy link
Collaborator

@howydev howydev commented Dec 20, 2024

PR-Codex overview

This PR focuses on enhancing signature packing utilities for user operations and 1271 signatures in the account-kit smart contracts, along with updating the account creation logic to utilize these new utilities.

Detailed summary

  • Renamed PackSignatureParams to PackUOSignatureParams.
  • Introduced Pack1271SignatureParams for 1271 signature packing.
  • Added pack1271Signature function for 1271 signature packing.
  • Updated createSMAV2Account to use _accountAddress.
  • Modified singleSignerMessageSigner to accept chain, accountAddress, and entityId.
  • Enhanced signature methods to utilize new packing functions.
  • Added tests for message signing and validation.

✨ 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 21, 2024 2:13am
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 21, 2024 2:13am

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.

Copy link
Contributor

@dphilipson dphilipson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Some nonblocking comments inline.

@howydev howydev force-pushed the howy/add-mav2-uo-call-encoding branch from df3501a to 45d889c Compare December 20, 2024 21:35
@howydev howydev marked this pull request as ready for review December 20, 2024 21:54
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
@howydev howydev force-pushed the howy/update-account-signers branch from a498d5c to ffed732 Compare December 21, 2024 01:20
@howydev howydev force-pushed the howy/update-account-signers branch from ffed732 to 28cb13e Compare December 21, 2024 01:35
@howydev howydev merged commit 2add110 into howy/scaffold-v0.8 Dec 21, 2024
3 of 6 checks passed
@howydev howydev deleted the howy/update-account-signers branch December 21, 2024 02:00
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.

2 participants