-
-
Notifications
You must be signed in to change notification settings - Fork 872
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: prepareAuthorization
#3062
Conversation
🦋 Changeset detectedLatest commit: 5e4a2c5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3062 +/- ##
========================================
Coverage 99.64% 99.64%
========================================
Files 867 869 +2
Lines 70806 70977 +171
Branches 3128 3130 +2
========================================
+ Hits 70556 70727 +171
+ Misses 234 233 -1
- Partials 16 17 +1 ☔ View full report in Codecov by Sentry. |
size-limit report 📦
|
Splits the "prepare" phase of
signAuthorization
into a separate Action. This will be useful for use-cases where we want to provide a consumer with a "prepared" Authorization object to sign over (similar toprepareTransactionRequest
).PR-Codex overview
This PR introduces
prepareAuthorization
, an experimental function for preparing EIP-7702 Authorization objects for signing. It enhances theeip7702Actions
by adding this functionality, updates tests, and modifies documentation to reflect these changes.Detailed summary
prepareAuthorization
function for EIP-7702 Authorization.eip7702Actions
to includeprepareAuthorization
.prepareAuthorization
.prepareAuthorization
with examples and parameters.signAuthorization
to utilizeprepareAuthorization
.