A shovel integration which only requires data from eth_getLogs should make 1 RPC request per batch. However, if the integration requires data from the header, it will make len(batch) RPC requests. Since this configuration difference has an outsized impact on performance, we should log the number or RPC requests made ruing the processing of a batch. This way the operator can compare the number of requests made vs. the expected number of requests to be made.
A shovel integration which only requires data from eth_getLogs should make 1 RPC request per batch. However, if the integration requires data from the header, it will make len(batch) RPC requests. Since this configuration difference has an outsized impact on performance, we should log the number or RPC requests made ruing the processing of a batch. This way the operator can compare the number of requests made vs. the expected number of requests to be made.
See this issue for context and motivation: https://github.com/daimo-eth/daimo/pull/692