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

using sync functions of the SDK for overlapping flows #1010

Closed
wants to merge 2 commits into from

Conversation

zavelevsky
Copy link
Collaborator

This PR makes use of the latest version of the SDK in which breaking change was introduced to calculate overlapping prices - namely not requiring the quote token address and not limiting prices to a 1 wei resolution.

Switched over the app to use sync functions instead of async - given that the app has the token decimals to provide.

Copy link
Collaborator

@GrandSchtroumpf GrandSchtroumpf left a comment

Choose a reason for hiding this comment

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

❤️

Copy link
Collaborator

@GrandSchtroumpf GrandSchtroumpf left a comment

Choose a reason for hiding this comment

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

Now when the SDK throws, it breaks the app :
image

Copy link

cloudflare-workers-and-pages bot commented Jan 29, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 45c5d0e
Status: ✅  Deploy successful!
Preview URL: https://b3c67317.carbon-app-csq.pages.dev
Branch Preview URL: https://sdk-sync-methods.carbon-app-csq.pages.dev

View logs

@zavelevsky
Copy link
Collaborator Author

handled as part of another PR

@zavelevsky zavelevsky closed this Jan 31, 2024
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.

2 participants