You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the contract.on(event,...) to watch event happening and is expecting it to be only future events. But it seems that somehow it returns the event since contract deployment.
Is my understanding wrong about this ?
Code Snippet
No response
Contract ABI
No response
Errors
No response
Environment
No response
Environment (Other)
No response
The text was updated successfully, but these errors were encountered:
thanks for the info, I was running geth node but on a private POA network which creates block on demand, when there is new txn (i.e. basically the same as a dev network but is shared/synced between different machines).
Ethers Version
5.6.9
Search Terms
event listening
Describe the Problem
I am trying to use the contract.on(event,...) to watch event happening and is expecting it to be only future events. But it seems that somehow it returns the event since contract deployment.
Is my understanding wrong about this ?
Code Snippet
No response
Contract ABI
No response
Errors
No response
Environment
No response
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: