-
Notifications
You must be signed in to change notification settings - Fork 619
feat: switch to v2 bundler for all user operations #4884
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: switch to v2 bundler for all user operations #4884
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 5d62ddf 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 |
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @joaquim-verges and the rest of your teammates on |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4884 +/- ##
==========================================
- Coverage 47.60% 47.49% -0.11%
==========================================
Files 1054 1055 +1
Lines 57164 57190 +26
Branches 3917 3902 -15
==========================================
- Hits 27212 27164 -48
- Misses 29263 29337 +74
Partials 689 689
*This pull request uses carry forward flags. Click here to find out more.
|
| const entrypointVersion = getEntryPointVersion(entrypoint); | ||
| const paymasterVersion = entrypointVersion === "v0.6" ? "v1" : "v2"; | ||
| const paymasterUrl = getDefaultBundlerUrl(chain, paymasterVersion); | ||
| const paymasterUrl = getDefaultBundlerUrl(chain); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there was no reason why we would need to point at /v1? /v2 handles everything /v1 did?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah it does

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on switching to the v2 bundler for improved performance across user operations in the
thirdwebpackage.Detailed summary
getDefaultBundlerUrlto use v2 directly, removing version parameter.userop.ts,paymaster.ts, andbundler.ts.