Closed gregfromstl closed 6 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
thirdweb_playground | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 29, 2024 4:04am |
thirdweb-www | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 29, 2024 4:04am |
wallet-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 29, 2024 4:04am |
Latest commit: 80b9cd967c61e6568bccb1cb5c2f182bc06048eb
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
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.
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @gregfromstl and the rest of your teammates on Graphite
Comparing chore/tests/update-zero-address-and-transaction-methods
(80b9cd9) with main
(cddd0ca)
⚡ 1
improvements
✅ 8
untouched benchmarks
Benchmark | main |
chore/tests/update-zero-address-and-transaction-methods |
Change | |
---|---|---|---|---|
⚡ | keccakId |
1.5 ms | 1.3 ms | +13.67% |
Path | Size | Loading time (3g) | Running time (snapdragon) | Total time |
---|---|---|---|---|
thirdweb (esm) | 40.47 KB (0%) | 810 ms (0%) | 902 ms (+7.14% 🔺) | 1.8 s |
thirdweb (cjs) | 89.99 KB (0%) | 1.8 s (0%) | 1.6 s (+4.64% 🔺) | 3.4 s |
thirdweb (minimal + tree-shaking) | 4.79 KB (0%) | 96 ms (0%) | 46 ms (-29.35% 🔽) | 142 ms |
thirdweb/chains (tree-shaking) | 423 B (0%) | 10 ms (0%) | 33 ms (+122.27% 🔺) | 43 ms |
thirdweb/react (minimal + tree-shaking) | 13.52 KB (0%) | 271 ms (0%) | 301 ms (+115.82% 🔺) | 572 ms |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 62.49%. Comparing base (
cddd0ca
) to head (80b9cd9
).
jnsdls
added this pull request to the Graphite merge queue.jnsdls
merged this pull request with the Graphite merge queue.
This pull request updates the function names and constants used in the deploy-modular-core.test.ts file. Specific changes include:
ADDRESS_ZERO
withZERO_ADDRESS
to align with existing codebase conventions.sendTransaction
tosendAndConfirmTransaction
to include transaction confirmation within the test cases.TL;DR
Updated function names and constants in the deploy-modular-core.test.ts for better alignment with the codebase.
What changed?
ADDRESS_ZERO
withZERO_ADDRESS
.sendTransaction
withsendAndConfirmTransaction
.How to test?
Run the updated tests in deploy-modular-core.test.ts to ensure all changes work as expected.
Why make this change?
These changes improve the code readability and follow naming conventions already established in the codebase. By including transaction confirmation, the tests are more robust and reliable.
PR-Codex overview
The focus of this PR is to update the transaction handling in the
deploy-modular-core.test.ts
test file by replacingsendTransaction
withsendAndConfirmTransaction
.Detailed summary
sendTransaction
withsendAndConfirmTransaction
for handling transactionsADDRESS_ZERO
toZERO_ADDRESS
for consistency