-
Notifications
You must be signed in to change notification settings - Fork 586
refactor: get userOp gas prices from bundler #2631
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
Conversation
🦋 Changeset detectedLatest commit: dce9ae4 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 |
CodSpeed Performance ReportMerging #2631 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2631 +/- ##
=======================================
Coverage ? 65.83%
=======================================
Files ? 293
Lines ? 10875
Branches ? 1570
=======================================
Hits ? 7160
Misses ? 3079
Partials ? 636 ☔ View full report in Codecov by Sentry. |
…#2631) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.12.0 to 7.13.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/parser</code>'s releases</a>.</em></p> <blockquote> <h2>v7.13.0</h2> <h2>7.13.0 (2024-06-10)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [no-dynamic-delete] allow all string literals as index (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9280">#9280</a>)</li> <li><strong>parser, typescript-estree:</strong> export withoutProjectParserOptions utility (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9233">#9233</a>)</li> <li><strong>typescript-estree:</strong> require <code>import = require()</code> argument to be a string literal (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9226">#9226</a>)</li> <li><strong>typescript-estree:</strong> forbid <code>.body</code>, <code>.async</code>, <code>.generator</code> on <code>declare function</code> (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9225">#9225</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>ast-spec:</strong> function-call-like callee should be Expression not LeftHandSideExpression (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9231">#9231</a>)</li> <li><strong>eslint-plugin:</strong> [init-declarations] refine report locations (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8893">#8893</a>)</li> <li><strong>eslint-plugin:</strong> [no-base-to-string] make error message more nuanced (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9281">#9281</a>)</li> <li><strong>eslint-plugin:</strong> [no-unsafe-assignment] be more specific about error types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8304">#8304</a>)</li> <li><strong>eslint-plugin:</strong> [no-magic-numbers] fix implementation of the <code>ignore</code> option (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9167">#9167</a>)</li> <li><strong>scope-manager:</strong> handle index signature in class (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9054">#9054</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Fotis Papadogeorgopoulos</li> <li>Joshua Chen</li> <li>Kirk Waiblinger</li> <li>Tobiloba Adedeji <a href="https://github.com/tobySolutions"><code>@tobySolutions</code></a></li> <li>Vinccool96</li> <li>YeonJuan <a href="https://github.com/yeonjuan"><code>@yeonjuan</code></a></li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@typescript-eslint/parser</code>'s changelog</a>.</em></p> <blockquote> <h2>7.13.0 (2024-06-10)</h2> <h3>🚀 Features</h3> <ul> <li><strong>parser, typescript-estree:</strong> export withoutProjectParserOptions utility</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Fotis Papadogeorgopoulos</li> <li>Joshua Chen</li> <li>Kirk Waiblinger</li> <li>Tobiloba Adedeji</li> <li>Vinccool96</li> <li>YeonJuan</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/8a178edc65a7156458bffd5f1cf0fc24ed052c16"><code>8a178ed</code></a> chore(release): publish 7.13.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c9a6dd9f3df4e3c2bfcc5dceb770b021709152ae"><code>c9a6dd9</code></a> feat(parser, typescript-estree): export withoutProjectParserOptions utility (...</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v7.13.0/packages/parser">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates TypeScript-related packages to the latest versions. ### Detailed summary - Updated `@typescript-eslint/parser` and `@typescript-eslint/eslint-plugin` to version 7.13.0 - Updated various TypeScript-related dependencies to version 7.13.0 - Updated `@typescript-eslint/scope-manager` and `@typescript-eslint/visitor-keys` to version 7.13.0 > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
PR-Codex overview
The focus of this PR is to enhance the
thirdweb
functionality by fetching user operation gas prices from the bundler.Detailed summary
GasPriceResult
type totypes.ts
getUserOpGasPrice
function inbundler.ts
createUnsignedUserOp
to fetch gas prices from bundlergetDefaultBundlerUrl
andisThirdwebUrl
functions