Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Additional documentation for 1inch testing #90

@pmantica3

Description

@pmantica3

Hello folks!

I have loved 1inch as a project. It's really simplified token trading for me. Testing it though has been a bit hard.

Per #15 there is no testnet support for 1inch. So the recommended mechanism for testing is to create a Ganache mainnet fork. I tried this approach and it didn't work so well. Every so often, I get like the following:

  Transaction: 0x9121fffc83795544412e56f3e376a31ca2787e469041e2967134556310afed4a
  Gas usage: 413947
  Block number: 15797477
  Block time: Fri Oct 21 2022 15:49:50 GMT+0000 (Coordinated Universal Time)
  Runtime error: revert
  Revert reason: callBytes failed: Error(LOP: bad signature)

I asked in discord what might be the cause of this error and someone responded saying that it seems that if there is a limit order in the route of the protocol then it won't work. However, there is no indication of how to turn off this routes.

So in general I would really appreciate:

  1. Some guidance on how to turn off the limit orders
  2. Some more general guidance on testing. I would love to know how the 1inch company tests the 1inch protocol.

Thanks again for the awesome work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions