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: adapted component ManageTokensModal to be able to treat both IC and Ethereum tokens #1519

Conversation

AntonioVentilii-DFINITY
Copy link
Collaborator

Motivation

We now proceed to merge the flow of adding Erc20 tokens into the general modal ManageTokensModal.

Changes

  • Substituted component IcAddTokenForm with component AddTokenByNetwork to have the network choice (default to current network, if defined).
  • Included use of ERC20 component AddTokenReview.
  • Create additional variables necessary for the merged flow.

Tests

On local replica, adding tokens wroked as expected.

@AntonioVentilii-DFINITY AntonioVentilii-DFINITY force-pushed the feature/chain-fusion/adapt-manage-tokens-to-accepts-erc20 branch from c60224b to 4963b4c Compare June 21, 2024 10:12
@AntonioVentilii-DFINITY AntonioVentilii-DFINITY marked this pull request as ready for review June 21, 2024 10:12
@AntonioVentilii-DFINITY AntonioVentilii-DFINITY requested a review from a team as a code owner June 21, 2024 10:12
Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

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

LGTM, thx

@AntonioVentilii-DFINITY AntonioVentilii-DFINITY merged commit 8edfcd9 into main Jun 21, 2024
7 checks passed
@AntonioVentilii-DFINITY AntonioVentilii-DFINITY deleted the feature/chain-fusion/adapt-manage-tokens-to-accepts-erc20 branch June 21, 2024 11:01
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.

2 participants