Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Running swapOnlyAMM throw error #15

Open
mattsavedme opened this issue Mar 31, 2024 · 3 comments
Open

Running swapOnlyAMM throw error #15

mattsavedme opened this issue Mar 31, 2024 · 3 comments

Comments

@mattsavedme
Copy link

when i running swapOnlyAMM.ts, throw error

Uncaught RangeError RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 20. Received 44
@jakerumbles
Copy link

I think this may be an issue with the filters when it is searching the chain for the pool information. Not entirely sure though.

@datnguyen-tech
Copy link

@mattfixme Do you know the cause yet?
I have same issue

@JoenZhu
Copy link

JoenZhu commented May 19, 2024

I found out this error happens on src/formatAmmKeysById.ts, but I cannot get further more. Do you guys have any idea?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants