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: map virtual swap InsufficientToken as SlippageTooLow #784

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

jsy1218
Copy link
Member

@jsy1218 jsy1218 commented Dec 13, 2024

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Bug fix

  • What is the current behavior? (You can also link to an open issue here)
    Sometimes slippage in virtual trading appears in the form in InsufficientToken in the universal router level

  • What is the new behavior (if this is a feature change)?
    If tokenIn or tokenOut is $VIRTUAL, map InsufficientToken to SlippageTooLow

  • Other information:
    this might not be due to slippage too low in the exact out scenario

Copy link
Member Author

jsy1218 commented Dec 13, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jsy1218 jsy1218 marked this pull request as ready for review December 13, 2024 16:00
@jsy1218 jsy1218 requested a review from a team as a code owner December 13, 2024 16:00
@graphite-app graphite-app bot requested a review from cgkol December 13, 2024 16:12
@graphite-app graphite-app bot requested a review from xrsv December 13, 2024 16:12
Copy link

graphite-app bot commented Dec 13, 2024

Graphite Automations

"Request reviewers once CI passes on smart-order-router repo" took an action on this PR • (12/13/24)

3 reviewers were added and 1 assignee was added to this PR based on Siyu Jiang (See-You John)'s automation.

@jsy1218 jsy1218 merged commit 69eed4a into main Dec 13, 2024
19 of 29 checks passed
@jsy1218 jsy1218 deleted the siyujiang/virtual-InsufficientToken-SlippageTooLow branch December 13, 2024 17:20
jsy1218 added a commit that referenced this pull request Dec 13, 2024
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
Release #784
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