Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Nov 27, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on handling scenarios where maxPriorityFeePerGas can be zero in EIP-712 transactions within the thirdweb package.

Detailed summary

  • Updated the condition to check for undefined values for gas, maxFeePerGas, and maxPriorityFeePerGas in send-eip712-transaction.ts.

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

@vercel
Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 8:47am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 8:47am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 8:47am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 8:47am

@changeset-bot
Copy link

changeset-bot bot commented Nov 27, 2024

🦋 Changeset detected

Latest commit: 209b0ae

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

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 27, 2024

Your org has enabled the Graphite merge queue for merging into main

Add 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.

@joaquim-verges joaquim-verges marked this pull request as ready for review November 27, 2024 08:35
@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Nov 27, 2024
Copy link
Member Author

joaquim-verges commented Nov 27, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 47.92 KB (0%) 959 ms (0%) 3.3 s (+67.59% 🔺) 4.3 s
thirdweb (cjs) 107.33 KB (+0.06% 🔺) 2.2 s (+0.06% 🔺) 7 s (+17.95% 🔺) 9.2 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 110 ms (-67.36% 🔽) 221 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 116 ms (-71.2% 🔽) 126 ms
thirdweb/react (minimal + tree-shaking) 18.28 KB (0%) 366 ms (0%) 572 ms (+24.6% 🔺) 938 ms

@codecov
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 46.19%. Comparing base (f64e025) to head (209b0ae).
Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
...nsaction/actions/zksync/send-eip712-transaction.ts 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5531      +/-   ##
==========================================
- Coverage   46.20%   46.19%   -0.01%     
==========================================
  Files        1080     1080              
  Lines       58569    58573       +4     
  Branches     3929     3929              
==========================================
  Hits        27060    27060              
- Misses      30826    30830       +4     
  Partials      683      683              
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from f64e025
packages 41.75% <0.00%> (-0.01%) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

Files with missing lines Coverage Δ
...nsaction/actions/zksync/send-eip712-transaction.ts 6.62% <0.00%> (-0.17%) ⬇️

@joaquim-verges joaquim-verges merged commit 1e9a6c7 into main Dec 2, 2024
30 of 33 checks passed
@joaquim-verges joaquim-verges deleted the fix_Handle_zero_maxPriorityFeePerGas_in_712_transactions branch December 2, 2024 02:10
@jnsdls jnsdls mentioned this pull request Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants