second doubt about events. In my program, I am doing 30 transactions and capturing the 30 events associated with them. However, when I run the program again (with only one transaction this time, for testing purposes), the event listener (which I am reinitializing
on every execution) is capturing 10 events from the previous execution. Also, 10 is a weird number, does it have anything to do with the number of transactions per block, which is 10? Is it re-sending the events from the last committed block or something?
I am not quite sure why this is happening. Shouldn't the events only be caught once? Do I have to clear the events from the peers in some way, after I catch them the first time? Because if events are being re-emitted, I'm never sure from which execution they
are coming from. I'm relatively new to the event mechanisms, so I am not sure how these things work.