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

Re-adding optional chaining for sellAsset and buyAsset on quote response #1673

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

jinchung
Copy link
Member

Fixes BX-1610

Related to: rainbow-me/rainbow#6022

What changed (plus any additional context for devs)

Re-added optional chaining on Quote object as the WETH/ETH unwrap/wrap path has different response type than normal swaps.

Screen recordings / screenshots

Did not take screen recordings - someone please verify.

What to test

Test ETH -> WETH and flip (WETH -> ETH)

Copy link

linear bot commented Aug 21, 2024

@brunobar79 brunobar79 added this pull request to the merge queue Aug 21, 2024
Merged via the queue into master with commit 5d7ed14 Aug 21, 2024
14 checks passed
@brunobar79 brunobar79 deleted the @jin/swaps-weth-eth-crash branch August 21, 2024 03:20
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.

3 participants