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

Error when swap on hydration #3993

Open
S2kael opened this issue Jan 14, 2025 · 0 comments
Open

Error when swap on hydration #3993

S2kael opened this issue Jan 14, 2025 · 0 comments
Assignees

Comments

@S2kael
Copy link

S2kael commented Jan 14, 2025

Description

  • Failed to get swap quote with hydration

Steps to reproduce

  • Reload extension to connect to Hydration with RPC interrupt
  • Go to Swap screen to get quote (error)
  • Change connectable provider
  • Go to Swap screen to get quote (error)

Reason

  • When initializing swap handler, init SDK and SDK requires api promise. If api promise has problem, SDK will not work well

Solution

  • Remove step init SDK on init swap handler, create new SDK on use
@S2kael S2kael self-assigned this Jan 14, 2025
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

No branches or pull requests

1 participant