I need help with one of my smart contracts. I wrote a smart contract that have functions that only emit events. The parameters of each event are some of the functions parameters. I want to ask if anyone has in mind any possible vulnerability that might occur. Maybe a gas problem or any other attack or vulnerability as I can not think of any. Thanks in advance for your help!
Since the address of the contract is included in the description of the event, you can always filter events by contract. Naturally, if you do not have enough gas, then events will not be created. Also, if you are using a alien node, then events can be faked in the channel between the node and the you application (MIM attack).