Open
Description
Describe the Feature
I found that the topics of the event filter seem to not be able to use two topics with the same event name, because I tested that when the topics are two identical swap topics, even if their topics are not the same.
I don't know if this is a bug or if it's not allowed
Code Example
const swapTopicV2 = ethers.id('Swap(address,uint256,uint256,uint256,uint256,address)');
const swapTopicV3 = ethers.id('Swap(address,address,int256,int256,uint160,uint128,int24)')
const filter = {
address: config.pairV2.concat(config.pairV3),
fromBlock: fBlock,
toBlock: tBlock,
topics: [swapTopicV3] //if topics:[swapTopicV2,swapTopicV3] there will be no logs
}
const logs = await provider.getLogs(filter);