Skip to content

Add and remove liquidity tests are not working correctly #1

Closed

Description

@shanefontaine

The add and remove liquidity tests are failing when being sent to the main network. This does not happen when calling the functions directly.

An example of a bad transaction is here.

Activity

  1. shanefontaine commented on Jan 4, 2019

    @shanefontaine
    CollaboratorAuthor

    The make_trade with recipient calls also intermittently fail.

    Example

  2. shanefontaine commented on Jan 4, 2019

    @shanefontaine
    CollaboratorAuthor

    Seemingly _token_to_eth_swap_output and _token_to_eth_transfer_output are the only two failing and it only happens during testing when multiple transactions process simultaneously. Calling them normally works fine.

  3. shanefontaine commented on Jan 4, 2019

    @shanefontaine
    CollaboratorAuthor

    Apparenlty the issues were fixed with these two commits.

    I am not totally sure what did it. It looks like raising the amount sent help.

    Following the rounding suggestion here seemed to help the add_liquidity function. Will reopen if issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions