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

fix: fix fee component on transfers #1548

Merged
merged 4 commits into from
Jan 15, 2025
Merged

fix: fix fee component on transfers #1548

merged 4 commits into from
Jan 15, 2025

Conversation

euharrison
Copy link
Collaborator

@euharrison euharrison commented Jan 15, 2025

  • Fix Namada Transfer fee adding the txKind to transfer query key
  • Allow changing fee token for Ibc Withdraw
  • Update the underline and hover of the button

Screenshot 2025-01-15 at 14 23 26

Screenshot 2025-01-15 at 14 22 11

closes #1501
closes #1492

@euharrison euharrison changed the title fix: add tx kind to transfer query key fix: fix fee component on transfers Jan 15, 2025
@@ -47,6 +47,8 @@ export const TransferDestination = ({
openChainSelector,
openProviderSelector,
}: TransferDestinationProps): JSX.Element => {
const isExternalDestination = !!openChainSelector;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure this is the correct way of verifying that we can define the fee token. I think we should verify if the transfer is coming from Namada instead

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah, agreed. I added the prop changeFeeEnabled to have a better control over it 👍

Copy link
Collaborator

@pedrorezende pedrorezende left a comment

Choose a reason for hiding this comment

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

LGTM!

@euharrison euharrison merged commit 83228bf into main Jan 15, 2025
7 checks passed
@euharrison euharrison deleted the fix/transfer-fee branch January 15, 2025 18:58
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.

Gas fee for Transparent transfer is using the fee of Shielded transfer Small UI tweaks on Namadillo
2 participants