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

[backport] pd: fix behavior of simulation RPC #4733

Merged
merged 1 commit into from
Jul 22, 2024

Commits on Jul 22, 2024

  1. pd: fix behavior of simulation RPC (#4731)

    ## Describe your changes
    
    Fixes the behavior of the simulation RPC for pairs with no liquidity, so
    that the simulation results correspond to what would happen if there
    were a swap.
    
    ## Issue ticket number and link
    
    ## Checklist before requesting a review
    
    - [x] If this code contains consensus-breaking changes, I have added the
    "consensus-breaking" label. Otherwise, I declare my belief that there
    are not consensus-breaking changes, for the following reason:
    
      > rpc only changes
    
    (cherry picked from commit 2429c16)
    hdevalence authored and conorsch committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    fa1d5e0 View commit details
    Browse the repository at this point in the history