8000 feat: multichain sessions by joepegler · Pull Request #73 · bcnmy/abstractjs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: multichain sessions #73

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

Draft
wants to merge 22 commits into
base: develop
Choose a base branch
from
Draft

Conversation

joepegler
Copy link
Collaborator
@joepegler joepegler commented May 6, 2025

PR-Codex overview

This PR primarily focuses on enhancing the functionality of the multichainRead feature and related components in the SDK, introducing new methods, expanding existing functionalities, and improving error handling.

Detailed summary

  • Added export for multichainRead in src/sdk/account/decorators/index.ts.
  • Introduced stringifyToNumber function in src/sdk/modules/validators/smartSessions/Helpers.ts.
  • Updated getNonceWithKey to accept additional parameters in src/sdk/account/toNexusAccount.ts.
  • Enhanced grantPermission to utilize getSudoPolicy in src/sdk/modules/validators/smartSessions/decorators/grantPermission.ts.
  • Implemented multichainRead function in src/sdk/account/toMultiChainNexusAccount.ts.
  • Added tests for multichainRead in src/sdk/account/decorators/multichainRead.test.ts.
  • Improved error handling in src/sdk/account/utils/parseErrorMessage.ts.
  • Updated getQuote to include moduleAddress and shortEncodingSuperTxn parameters in src/sdk/clients/decorators/mee/getQuote.ts.
  • Expanded meeSessionActions in src/sdk/modules/validators/smartSessions/decorators/mee/index.ts to include new permissions.
  • Enhanced test cases for composable transactions in src/sdk/modules/validators/smartSessions/toMultichainSmartSessions.test.ts.

The following files were skipped due to too many changes: src/sdk/account/decorators/instructions/buildComposable.test.ts

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

@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch from ba7fc64 to ba0a494 Compare May 8, 2025 12:45
@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch from ba0a494 to 2c14d78 Compare May 8, 2025 12:47
Copy link
github-actions bot commented May 13, 2025

size-limit report 📦

Path Size
core (esm) 49.41 KB (+1.22% 🔺)
core (cjs) 61.32 KB (+1.52% 🔺)
bundler (tree-shaking) 5.79 KB (0%)
paymaster (tree-shaking) 543 B (0%)

@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch 2 times, most recently from b03e1c9 to 3a59d28 Compare May 15, 2025 15:55
@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch from 3a59d28 to 9ddeee3 Compare May 15, 2025 15:56
@joepegler joepegler force-pushed the develop branch 2 times, most recently from 0a57dbf to 8e6eb22 Compare May 16, 2025 09:52
@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch from 6ad1cc6 to 460f3c6 Compare May 16, 2025 10:14
@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch 2 times, most recently from aca67b5 to e0bc2cb Compare May 16, 2025 12:23
@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch 2 times, most recently from ce19694 to d271f1f Compare May 16, 2025 13:15
@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch 4 times, most recently from 46c76b2 to 4511490 Compare May 16, 2025 13:18
@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch from 4511490 to 95b52bc Compare May 16, 2025 13:19
@joepegler joepegler force-pushed the feat/multichain_smar_sessions branch from ecb4691 to c712936 Compare May 16, 2025 15:05
@filmakarov filmakarov changed the title chore: multichain sessions feat: multichain sessions May 26, 2025
filmakarov and others added 4 commits May 26, 2025 13:36
* fix: session validator initdata
* chore: gas limit
* chore: add short encoding flag to getQuote
* fix: passing the validator module to prepareUserOps
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
0