Calling eth_getFilterLogs:
1) when there are no logs for an existing filter => returns null result instead of empty array
2) filter does not exist => returns null instead of an error
Dummy topic was used to ensure no logs from geth on mainnet, but specifying no topics/address results in same behavior, although I have seen this way sometimes return empty array
Instructions
Problem
Calling eth_getFilterLogs: 1) when there are no logs for an existing filter => returns null result instead of empty array 2) filter does not exist => returns null instead of an error
Looks like this was discussed here, but geth returns an error if filter is not found or an empty array for nil logs https://github.com/ethereum/go-ethereum/blob/8d42e115b1cae4f09fd02b71c06ec9c85f22ad4f/eth/filters/api.go#L481
Steps to Reproduce
geth - create filter that has no logs
geth - get logs for filter that doesnt exist
flow-evm-gateway - create filter that has no logs
flow-evm-gateway - get logs for filter that doesnt exist
Dummy topic was used to ensure no logs from geth on mainnet, but specifying no topics/address results in same behavior, although I have seen this way sometimes return empty array
Acceptance Criteria
Same behavior as geth