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: hide donation for unsupported keepkey swaps #4996

Merged

Conversation

0xApotheosis
Copy link
Contributor

Description

Currently, KK signing EVM transactions with donations does not work (see #4518).

We should not show the donation button for these swaps, as it currently does nothing.

Pull Request Type

  • 🐛 Bug fix (Non-breaking Change: Fixes an issue)
  • 🛠️ Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
  • 💅 New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

Closes #4993

Risk

Small

Testing

When connected to a KK, try a trade from an EVM asset with sufficient sell amount to allow for a donatiion.

The donation toggle should not show.

Trades from non-EVM assets should still allow donations with KK.

No other wallets should be affected by this PR.

Engineering

☝️

Operations

☝️

Screenshots (if applicable)

N/A

@0xApotheosis 0xApotheosis requested a review from a team as a code owner July 27, 2023 23:57
@0xApotheosis
Copy link
Contributor Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@0xApotheosis 0xApotheosis force-pushed the 07-28-fix_hide_donation_for_unsupported_keepkey_swaps branch from cc39948 to 85c2283 Compare July 27, 2023 23:57
@0xdef1cafe 0xdef1cafe enabled auto-merge (squash) July 31, 2023 00:40
@0xdef1cafe 0xdef1cafe merged commit 227dc2a into develop Jul 31, 2023
3 checks passed
@0xdef1cafe 0xdef1cafe deleted the 07-28-fix_hide_donation_for_unsupported_keepkey_swaps branch July 31, 2023 00:45
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.

Keepkey Donation Quote Never Updates to Non Donation Quote
2 participants