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

feat: token migration portal #159

Open
wants to merge 69 commits into
base: main
Choose a base branch
from

Conversation

fmorency
Copy link
Contributor

@fmorency fmorency commented Jan 24, 2024

This PR introduces a Token Migration portal allowing users to migrate their tokens to the new CosmosSDK-based ledger.

The Migration Portal supports

  • Migrating tokens from a regular user account
  • Migrating tokens from a multisig account
  • View the migration history of a given user/account
  • View the migration details of any past migrations

The Migration Portal aims to be "idiot" proof.

Fixes #160

TODO:

  • MANY chain side
  • Cosmos MANIFEST chain side
  • Disable token minting MANY side

@fmorency fmorency self-assigned this Jan 24, 2024
Copy link

netlify bot commented Jan 24, 2024

Deploy Preview for lifted-alberto ready!

Name Link
🔨 Latest commit edd9e53
🔍 Latest deploy log https://app.netlify.com/sites/lifted-alberto/deploys/66856b466cdd2e0008e8d712
😎 Deploy Preview https://deploy-preview-159--lifted-alberto.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Attention: Patch coverage is 77.19088% with 190 lines in your changes missing coverage. Please review.

Project coverage is 45.16%. Comparing base (8ae6f0f) to head (edd9e53).
Report is 3 commits behind head on main.

Files Patch % Lines
src/features/token-migration/event-validation.tsx 32.07% 36 Missing ⚠️
src/features/accounts/queries.ts 6.25% 30 Missing ⚠️
...ation/components/migration-form/migration-form.tsx 79.61% 21 Missing ⚠️
...components/migration-details/migration-details.tsx 85.93% 17 Missing and 1 partial ⚠️
src/features/accounts/api/get-account-info.ts 0.00% 15 Missing ⚠️
src/features/network/queries.ts 8.33% 11 Missing ⚠️
.../txn-list/txn-list-item/multisig-txn-list-item.tsx 8.33% 11 Missing ⚠️
src/features/accounts/api/create-account.ts 0.00% 9 Missing ⚠️
src/features/accounts/stores/accounts-store.ts 14.28% 6 Missing ⚠️
...on/components/migration-form/amount-asset-step.tsx 89.65% 5 Missing and 1 partial ⚠️
... and 10 more
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #159       +/-   ##
===========================================
+ Coverage   35.10%   45.16%   +10.06%     
===========================================
  Files          90      119       +29     
  Lines        2396     3164      +768     
  Branches      683      889      +206     
===========================================
+ Hits          841     1429      +588     
- Misses       1544     1720      +176     
- Partials       11       15        +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fmorency
Copy link
Contributor Author

Update: Tested a migration in QA and everything worked

@fmorency fmorency mentioned this pull request Feb 29, 2024
5 tasks
@fmorency
Copy link
Contributor Author

Update: The complete flow is working. Only polishing and TODOs remain to do.

@fmorency fmorency marked this pull request as ready for review April 18, 2024 17:58

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please change staging env talib_url to "https://qa-talib.liftedinit.app/api/v1/neighborhoods/2/" and rebuild?

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.

Migration Portal
2 participants