liftedinit / alberto

A crypto wallet for any ledger supporting the Many protocol
https://alberto.app
Apache License 2.0
6 stars 7 forks source link

feat: token migration portal #159

Open fmorency opened 8 months ago

fmorency commented 8 months ago

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

The Migration Portal supports

The Migration Portal aims to be "idiot" proof.

Fixes #160

TODO:

netlify[bot] commented 8 months ago

Deploy Preview for lifted-alberto ready!

Name Link
Latest commit edd9e536e40dd1634531ec585c1cf0af2dcd6807
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.

codecov[bot] commented 8 months ago

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 :warning:
src/features/accounts/queries.ts 6.25% 30 Missing :warning:
...ation/components/migration-form/migration-form.tsx 79.61% 21 Missing :warning:
...components/migration-details/migration-details.tsx 85.93% 17 Missing and 1 partial :warning:
src/features/accounts/api/get-account-info.ts 0.00% 15 Missing :warning:
src/features/network/queries.ts 8.33% 11 Missing :warning:
.../txn-list/txn-list-item/multisig-txn-list-item.tsx 8.33% 11 Missing :warning:
src/features/accounts/api/create-account.ts 0.00% 9 Missing :warning:
src/features/accounts/stores/accounts-store.ts 14.28% 6 Missing :warning:
...on/components/migration-form/amount-asset-step.tsx 89.65% 5 Missing and 1 partial :warning:
... and 10 more
Additional details and impacted files ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

fmorency commented 7 months ago

Update: Tested a migration in QA and everything worked

fmorency commented 5 months ago

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