Open 0xARROWK opened 2 years ago
Got the same problems, please help me asap!!!!
@ricmoo Hello sir, I used the quicknode ws url to do the same thing, everything works fine at first, after 2 or 3 hours, the events I listened got lesser, because I used the web3.py to do the same thing, I can find web3.py works fine, but ethers.js works abnormal.....
Ethers Version
v5.6.5
Search Terms
events stop firing
Describe the Problem
Hello ! I write this issue because whatever I try, listening to the new created pair stop to be fired after 2 or 3 hours. By reading some issues, I was able to setup a ping system that works well, pong is answered back even 4 hours after the PairCreated events stop to be fired, so I think that it's not an issue with my node url (I use moralis nodes). I have to restart my script to make it work again.
I saw many issues with the same problem, but nothing works for me :(
Please, anyone can help me ?
Thanks for taking the time to read.
Code Snippet
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response