Skip to content
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

Merged
merged 5 commits into from
Sep 21, 2023
Merged

v7.9.0 #2788

merged 5 commits into from
Sep 21, 2023

Conversation

platschi
Copy link
Contributor

Description

v7.9.0 Release candidate

Related issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

LeifuChen and others added 4 commits September 21, 2023 14:02
* 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
@vercel
Copy link

vercel bot commented Sep 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
kwenta ✅ Ready (Inspect) Visit Preview Sep 21, 2023 8:58pm
kwenta-storybook ✅ Ready (Inspect) Visit Preview Sep 21, 2023 8:58pm

@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #2788 (c890962) into main (dbb237d) will increase coverage by 51.58%.
Report is 37 commits behind head on main.
The diff coverage is 38.47%.

❗ Current head c890962 differs from pull request most recent head 330feac. Consider uploading reports for the commit 330feac to get more accurate results

@@            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     
Files Changed Coverage Δ
packages/app/src/components/layout/grid.ts 100.00% <ø> (ø)
packages/app/src/constants/routes.ts 45.83% <ø> (ø)
...tions/shared/Layout/AppLayout/Header/constants.tsx 85.71% <ø> (ø)
packages/app/src/state/staking/actions.ts 12.99% <13.33%> (ø)
packages/app/src/state/stakingMigration/actions.ts 13.69% <13.69%> (ø)
...p/src/sections/shared/Layout/HomeLayout/Banner.tsx 37.73% <33.33%> (ø)
packages/app/src/state/migrations.ts 47.05% <33.33%> (ø)
packages/app/src/state/wallet/actions.ts 33.33% <33.33%> (ø)
packages/app/src/state/stakingMigration/reducer.ts 50.00% <50.00%> (ø)
...ckages/app/src/state/stakingMigration/selectors.ts 54.32% <54.32%> (ø)
... and 3 more

... and 412 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants