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
Currently the relay can't handle an array of addresses for the eth_getLogs address filter, which can be either a single address or an array of addresses. The Issue is that the mirror-node doesn't have an endpoint where logs can be filtered by multiple addresses.
One of the solutions is to iterate through all addresses and to do a mirror node request for each address, but in combination with #673 this could result in the getLogs getting extremely inefficient and slow, especially in combination with filtering by block range (fromBlock -> toBlock)
Another solution is to allow the mirror node to be queried by multiple addresses.
Steps to reproduce
Execute eth_getLogs request to the relay with address fields being an array of addresses. The relay will send the request to the mirror node in the following format [GET] contracts/0x0000000000000000000000000000000002e6f4f3,0x0000000000000000000000000000000002e798e8/results/logs 400 status
Additional context
No response
Hedera network
mainnet, testnet, previewnet, other
Version
all
Operating system
No response
The text was updated successfully, but these errors were encountered:
Description
Currently the relay can't handle an array of addresses for the
eth_getLogs
address filter, which can be either a single address or an array of addresses. The Issue is that the mirror-node doesn't have an endpoint where logs can be filtered by multiple addresses.One of the solutions is to iterate through all addresses and to do a mirror node request for each address, but in combination with #673 this could result in the getLogs getting extremely inefficient and slow, especially in combination with filtering by block range (fromBlock -> toBlock)
Another solution is to allow the mirror node to be queried by multiple addresses.
Steps to reproduce
Execute
eth_getLogs
request to the relay withaddress
fields being an array of addresses. The relay will send the request to the mirror node in the following format[GET] contracts/0x0000000000000000000000000000000002e6f4f3,0x0000000000000000000000000000000002e798e8/results/logs 400 status
Additional context
No response
Hedera network
mainnet, testnet, previewnet, other
Version
all
Operating system
No response
The text was updated successfully, but these errors were encountered: