You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We constuct a memo and pass it to getEvmThorTxInfo and getUtxoThorTxInfo in order to then get fee data for the quote. The trouble is that the memo varies by route, meaning we need to re-fetch fee data by route. This pattern currently is done in a Promise.all(...) without error handling, which means if 1 route fails to generate, the quote quote fails. We want the swapper to only return an error monad if all routes failed, or return the successful ones otherwise.
Overview
We constuct a memo and pass it to
getEvmThorTxInfo
andgetUtxoThorTxInfo
in order to then get fee data for the quote. The trouble is that the memo varies by route, meaning we need to re-fetch fee data by route. This pattern currently is done in aPromise.all(...)
without error handling, which means if 1 route fails to generate, the quote quote fails. We want the swapper to only return an error monad if all routes failed, or return the successful ones otherwise.References and additional details
Acceptance Criteria
No reference to memos in
getTradeQuote
- this is an execution concern.Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response
The text was updated successfully, but these errors were encountered: