-
Notifications
You must be signed in to change notification settings - Fork 619
[SDK/Dashboard] Fix: Deploy specified version of published contracts #5923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
size-limit report 📦
|
🦋 Changeset detectedLatest commit: 42a313f The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5923 +/- ##
==========================================
- Coverage 54.83% 54.81% -0.03%
==========================================
Files 1141 1141
Lines 60897 60903 +6
Branches 5126 5126
==========================================
- Hits 33393 33384 -9
- Misses 26778 26795 +17
+ Partials 726 724 -2
*This pull request uses carry forward flags. Click here to find out more.
|
Merge activity
|
…5923) TOOL-3013 TOOL-3014 ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the deployment process for contracts in the `thirdweb` package, including changes to version handling and contract IDs. ### Detailed summary - Updated `version` handling in the `custom-contract.tsx` file. - Changed `contractId` from `"Forwarder"` to `"ForwarderEOAOnly"` in `deploy-pack.ts`. - Added `version` to the options in `deployMarketplaceContract`. - Modified `getAllDefaultConstructorParamsForImplementation` to use a dynamic `contractId`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
49dcfb7 to
42a313f
Compare
TOOL-3013
TOOL-3014
Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
How to test
Unit tests, playground, etc.
PR-Codex overview
This PR focuses on updating the deployment version and contract identifiers for various components in the
thirdweblibrary, ensuring proper version handling for published contracts.Detailed summary
versionhandling incustom-contract.tsx.contractIdfrom"Forwarder"to"ForwarderEOAOnly"indeploy-pack.ts.versiontoDeployMarketplaceContractOptionsindeploy-marketplace.ts.getAllDefaultConstructorParamsForImplementationto includecontractId.