Open benjiqq opened 7 months ago
thanks for report. I pushed more logging on latest master. tx code needs more testing and improving. likely can be improved with tweaking of prio fees
I increased the price and limit as per the suggestion. I even tried to increase the MAX_RETRY = 5
. I can't figure out why it doesn't send another request if the last one failed.
ComputeBudgetProgram.setComputeUnitPrice({ microLamports: 10000000 }),
ComputeBudgetProgram.setComputeUnitLimit({ units: 1000000 }),
With the last update, it doesn't buy any tokens. I tried to increase the waiting time for
confirmTransactionWithTimeout
to 15 seconds, but I still get[error]: Failed to confirm transaction:
This is my RPC Speed
Any suggestions?