firefly-sol / jupiter-arb

118 stars 53 forks source link

Tick Array error #3

Open LenBob2021 opened 2 years ago

LenBob2021 commented 2 years ago

getting the following errors: Could not parse tick array ${tickArrayAddress}incorrect account name during parsing /jupiter-arb/node_modules/@jup-ag/core/src/lib/whirlpool/whirlpoolAmm.ts:70 if (!tickArray) throw new Error(Could not parse tick array ${tickArrayAddress}); It's coming from the Orca whirpool SDK Also tried the juipter-core-example repo and got a similar error but it also completes with a list of possible routes and the best quote. error from uipter-core-example: Error: Invariant failed: tickArray is null Error: Crossed the maximum number of tick arrays

Juanba98 commented 2 years ago

Same problem here

jaws777 commented 2 years ago

+2

codeskraps commented 2 years ago

Anybody resolved the issue?

jbam23 commented 2 years ago

Try changing RPC endpoint from // const RPC_ENDPOINT = 'https://solana-api.projectserum.com'; const RPC_ENDPOINT = 'https://ssc-dao.genesysgo.net'

I was getting a similar error with first endpoint and then switched to new one from jupiter-core-example repo and it worked for me

techshaw commented 1 year ago

Can someone help walk me through setting up the MEV? My Telegram is t.me/daCoinHead