Skip to content

Conversation

joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Apr 2, 2024

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

  • Added GasPriceResult type to types.ts
  • Created getUserOpGasPrice function in bundler.ts
  • Modified createUnsignedUserOp to fetch gas prices from bundler
  • Added getDefaultBundlerUrl and isThirdwebUrl functions

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

@joaquim-verges joaquim-verges requested a review from a team April 2, 2024 14:55
Copy link

changeset-bot bot commented Apr 2, 2024

🦋 Changeset detected

Latest commit: dce9ae4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
thirdweb Patch

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

Copy link

codspeed-hq bot commented Apr 2, 2024

CodSpeed Performance Report

Merging #2631 will not alter performance

Comparing joaquim/bundlerGasPriceV5 (dce9ae4) with main (15697ae)

Summary

✅ 9 untouched benchmarks

Copy link

codecov bot commented Apr 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@15697ae). Click here to learn what that means.

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.
📢 Have feedback on the report? Share it here.

@joaquim-verges joaquim-verges added this pull request to the merge queue Apr 2, 2024
Merged via the queue into main with commit 1c29556 Apr 2, 2024
@joaquim-verges joaquim-verges deleted the joaquim/bundlerGasPriceV5 branch April 2, 2024 15:18
@jnsdls jnsdls mentioned this pull request Apr 2, 2024
jnsdls pushed a commit that referenced this pull request Jun 19, 2024
…#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 />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=7.12.0&new-version=7.13.0)](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 -->
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