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: lifi final quote failures #8430

Merged
merged 3 commits into from
Dec 20, 2024
Merged

Conversation

gomesalexandre
Copy link
Contributor

@gomesalexandre gomesalexandre commented Dec 20, 2024

Description

Handles rare, but existing edge-case of Li.Fi erroring at final quote /routes call.

Issue (if applicable)

closes #8386

Risk

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Low to none

Testing

  • Ensure you're not rate-limited already (fresh vpn server)

  • Get and select Li.Fi rate

  • Block li.quest request domain before getting final quote (see Jam)

  • Notice blank screen bork does not ensue

  • Remove domain blocking before clicking sign and broadcast

  • Notice Tx goes through (assuming you're not rate-limited)

  • Repeat steps above while keeping the block, and notice Tx fails (expected, because /stepTransaction fails, but without blank screen)

Engineering

  • ^

Operations

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)
  • ^

Screenshots (if applicable)

https://jam.dev/c/61f80ed5-41c5-427c-80d7-e7daab97546f

@gomesalexandre gomesalexandre requested a review from a team as a code owner December 20, 2024 09:42
@gomesalexandre gomesalexandre marked this pull request as draft December 20, 2024 09:44
@NeOMakinG NeOMakinG marked this pull request as ready for review December 20, 2024 09:50
Copy link
Collaborator

@NeOMakinG NeOMakinG left a comment

Choose a reason for hiding this comment

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

@NeOMakinG NeOMakinG merged commit 38db4d0 into develop Dec 20, 2024
3 checks passed
@NeOMakinG NeOMakinG deleted the fix_lifi_final_trade_quote branch December 20, 2024 10:12
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.

Handle Li.Fi final quote *failures*
2 participants