-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description Added WETH approval in the ZoraFactoryImpl contract and introduced new test cases for secondary rewards claiming and WETH-related functionality. The changes include validation for WETH tick parameters and proper handling of ETH/WETH transactions. ## Motivation and Context Ensures proper token approvals for WETH transactions and adds comprehensive testing coverage for secondary rewards claiming scenarios. This improves the robustness of the protocol's token handling mechanisms. ## Does this change the ABI/API? - [ ] This changes the ABI/API ## What tests did you add/modify to account for these changes - Added test for selling ETH directly and claiming secondary rewards - Added test for selling ETH directly with ETH push functionality - Added validation test for invalid WETH tick parameters - Added test for WETH deployment scenarios - Added test to verify factory implementation address ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New module / feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) ## Checklist: - [x] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I added a changeset to account for this change ## Reviewer Checklist: - [ ] My review includes a symposis of the changes and potential issues - [ ] The code style is enforced - [ ] There are no risky / concerning changes / additions to the PR
- Loading branch information
Showing
3 changed files
with
147 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters