-
Notifications
You must be signed in to change notification settings - Fork 619
Update deploy configs #6299
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
Update deploy configs #6299
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6299 +/- ##
=======================================
Coverage 54.71% 54.71%
=======================================
Files 874 874
Lines 54620 54620
Branches 3718 3718
=======================================
Hits 29884 29884
Misses 24641 24641
Partials 95 95
|
size-limit report 📦
|
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. |
Merge activity
|
TOOL-3478
<!--
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## 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 platform fee configuration in the contract deployment process, introducing a new fee constant, and modifying the logic to handle different fee scenarios based on the publisher address.
### Detailed summary
- Added `THIRDWEB_PUBLISHER_ADDRESS` constant in `addresses.ts`.
- Introduced `DEFAULT_FEE_BPS_NEW` constant in `addresses.ts`.
- Updated `PlatformFeeFieldset` to destructure `isMarketplace`.
- Modified `CustomContractForm` to conditionally use `DEFAULT_FEE_BPS_NEW` based on the publisher address.
- Adjusted imports in `custom-contract.tsx` to include new constants.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
6180116 to
c0bbc21
Compare
TOOL-3478
PR-Codex overview
This PR focuses on updating constants related to platform fees and modifying the
PlatformFeeFieldsetandCustomContractFormcomponents to utilize new fee logic based on the publisher address.Detailed summary
THIRDWEB_PUBLISHER_ADDRESSconstant.DEFAULT_FEE_BPS_NEWconstant.PlatformFeeFieldsetto destructureisMarketplacefrom props.CustomContractFormto useDEFAULT_FEE_BPS_NEWbased on publisher address check.