Skip to content

Conversation

@kumaryash90
Copy link
Member

@kumaryash90 kumaryash90 commented Dec 11, 2024

TOOL-2779 (XPROT-931)

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR introduces a custom create2 factory deployment for SKALE chains, enhancing gas management and testing functionalities.

Detailed summary

  • Added tests for create2 factory address computation and deployment.
  • Introduced Create2FactoryDeploymentInfo type for deployment details.
  • Implemented custom gas price and limit handling for specific SKALE chains.
  • Updated deployCreate2Factory to accommodate custom gas settings.

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

@changeset-bot
Copy link

changeset-bot bot commented Dec 11, 2024

🦋 Changeset detected

Latest commit: 7c40fda

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

@vercel
Copy link

vercel bot commented Dec 11, 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 Dec 19, 2024 5:25pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 5:25pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 5:25pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 5:25pm

@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 11, 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.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 11, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 45.02 KB (0%) 901 ms (0%) 585 ms (-12.31% 🔽) 1.5 s
thirdweb (cjs) 110.76 KB (0%) 2.3 s (0%) 1.2 s (-29.71% 🔽) 3.4 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 77 ms (+2.09% 🔺) 188 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 45 ms (+258.85% 🔺) 55 ms
thirdweb/react (minimal + tree-shaking) 19.1 KB (0%) 383 ms (0%) 169 ms (+13.58% 🔺) 551 ms

@codecov
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

Attention: Patch coverage is 89.28571% with 3 lines in your changes missing coverage. Please review.

Project coverage is 53.34%. Comparing base (00b6c2e) to head (7c40fda).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../src/contract/deployment/utils/create-2-factory.ts 89.28% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5693      +/-   ##
==========================================
+ Coverage   53.20%   53.34%   +0.13%     
==========================================
  Files        1101     1101              
  Lines       59100    59124      +24     
  Branches     4817     4825       +8     
==========================================
+ Hits        31447    31541      +94     
+ Misses      26936    26864      -72     
- Partials      717      719       +2     
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 00b6c2e
packages 50.56% <89.28%> (+0.16%) ⬆️

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

Files with missing lines Coverage Δ
.../src/contract/deployment/utils/create-2-factory.ts 88.57% <89.28%> (+22.05%) ⬆️

... and 4 files with indirect coverage changes

TOOL-2779 (XPROT-931)

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a custom `create2` factory deployment for SKALE chains, enhancing gas management and testing functionalities.

### Detailed summary
- Added tests for `create2` factory address computation and deployment in `create-2-factory.test.ts`.
- Introduced `Create2FactoryDeploymentInfo` type in `create-2-factory.ts`.
- Implemented custom gas price and limit handling for specific SKALE chains.
- Updated `deployCreate2Factory` to utilize custom gas settings.

> ✨ 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

merge-queue Adds the pull request to Graphite's merge queue. packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants