-
Notifications
You must be signed in to change notification settings - Fork 156
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
v7.9.0 #2788
Conversation
* Added a migrate page * Add more copy * Add migration step layout * Fixed the mobile layout * Make the button active in mock flow * Add batch to other substeps * Update the nav side * Separate v1 and v2 staking page for test purpose * Added V1 staking page * Added EscrowMigrator contract * Added register entries * Add more contract interactions * Updated contracts * Removed the rollback logic * Updated the condition check of the migration * Updated the staking v1 and v2 data to UI * Fixed the approval * Added 14d prompt * Update the table pagination on mobile and tablet * Add top margin of the banner * Disabled vesting when the user started the migration * Update the staking v2 contract address * Fixed the inactivated register button after claim * Updated the tenderly fork contracts for tests * Updated the states * Updated the tenderly fork * Added migration support for multiple batches * Added the countdown timer * Added copy and disabled all the button when the migration window closed * Added staking v2 cooldown time and updated the copy of migration window closed * Cleaned sdk: keep stakingV2 functions as it is * Cleaned sdk: removed useless functions * Redux cleaned: removed useless selectors * Cleaned redux: re-organized the checks in each step * Cleaned UI: removed unnecessary components * The user could visit the migrate page if he has vestable amount in escrow v1 * Fix the migration data fetch and updated the completed message * Removed the error view for v1 staking page * Clean the table alinment * Updated the button loading state and fixed the typo * Fixed the lint error * Refactor stakingMigrationState to map data by wallet address * Fixed the crash of the escrow table and apply useDebouncedMemo for stable rendering * Use explicit naming for wallet address in selectedUserMigrationInfo type * chore(app): add migrate copy * Updated the copy * Added claim trading rewards in the migration step * Disabled the referral volume call * Disabled the future fees query * chore(*): bump version * Updated the contracts because of the new tenderly fork * Updated the contracts because of tenderly fork change * Updated the copy * Updated the copy * Updated the contracts address to the prod * Fixed the refetching issue of the registered vesting entry id * Added redirect to migrate page if the user has unmigrated entries * Updated the contracts ABI and add total escrow check * Removed unnecessary comments --------- Co-authored-by: Ralf <[email protected]>
* chore(*): update banner * chore(app): fix language
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## main #2788 +/- ##
=========================================
+ Coverage 0 51.58% +51.58%
=========================================
Files 0 425 +425
Lines 0 13846 +13846
Branches 0 3079 +3079
=========================================
+ Hits 0 7142 +7142
- Misses 0 6434 +6434
- Partials 0 270 +270
... and 412 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Description
v7.9.0 Release candidate
Related issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):