Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented May 1, 2025


PR-Codex overview

This PR focuses on handling zero addresses as native tokens in the thirdweb package and addresses a flaky test in the Bridge.status suite.

Detailed summary

  • Updated the Bridge.status test to skip a flaky test case: it.skip("should handle successful status", async () => {...}).
  • Modified the isNativeToken function to recognize ZERO_ADDRESS as a valid native token address.

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

@vercel
Copy link

vercel bot commented May 1, 2025

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 May 1, 2025 10:52pm
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 1, 2025 10:52pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 1, 2025 10:52pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 1, 2025 10:52pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 1, 2025 10:52pm

@changeset-bot
Copy link

changeset-bot bot commented May 1, 2025

🦋 Changeset detected

Latest commit: 6682c95

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

This PR includes changesets to release 2 packages
Name Type
thirdweb Patch
@thirdweb-dev/wagmi-adapter 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

@joaquim-verges joaquim-verges marked this pull request as ready for review May 1, 2025 22:30
@joaquim-verges joaquim-verges requested review from a team as code owners May 1, 2025 22:30
@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels May 1, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

@github-actions
Copy link
Contributor

github-actions bot commented May 1, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 51.19 KB (0%) 1.1 s (0%) 296 ms (+216.14% 🔺) 1.4 s
thirdweb (cjs) 143.86 KB (0%) 2.9 s (0%) 433 ms (+47.08% 🔺) 3.4 s
thirdweb (minimal + tree-shaking) 5.67 KB (0%) 114 ms (0%) 121 ms (+1487.62% 🔺) 234 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 22 ms (+438.75% 🔺) 32 ms
thirdweb/react (minimal + tree-shaking) 19.38 KB (0%) 388 ms (0%) 134 ms (+580.29% 🔺) 521 ms

@joaquim-verges joaquim-verges force-pushed the _SDK_Add_ZERO_ADDRESS_check_to_isNativeToken_function branch from 0be0fd9 to 6682c95 Compare May 1, 2025 22:44
@joaquim-verges joaquim-verges merged commit 98cce77 into main May 1, 2025
20 of 21 checks passed
@joaquim-verges joaquim-verges deleted the _SDK_Add_ZERO_ADDRESS_check_to_isNativeToken_function branch May 1, 2025 23:19
@joaquim-verges joaquim-verges mentioned this pull request May 1, 2025
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