I noticed that logs from the Elections and Validators contracts related to epoch rewards aren't returned by blockscout. Querying for the logs via a JSON RPC provider (e.g. Forno or Infura) does return them but that's much less efficient for querying with a large block range. My guess is that epoch rewards are triggered by the Validators' celo geth clients in some special way that's confusing the explorer's indexing. FWIW, CeloScan has this same issue and I've reported it to them as well.
I noticed that logs from the Elections and Validators contracts related to epoch rewards aren't returned by blockscout. Querying for the logs via a JSON RPC provider (e.g. Forno or Infura) does return them but that's much less efficient for querying with a large block range. My guess is that epoch rewards are triggered by the Validators' celo geth clients in some special way that's confusing the explorer's indexing. FWIW, CeloScan has this same issue and I've reported it to them as well.
Here's one of the events I'm looking for: https://github.com/celo-org/celo-monorepo/blob/master/packages/protocol/contracts/governance/Election.sol#L145
Same problem for this Validator contract event: https://github.com/celo-org/celo-monorepo/blob/master/packages/protocol/contracts/governance/Validators.sol#L149
And an example query: https://explorer.celo.org/mainnet/api?module=logs&action=getLogs&fromBlock=0&toBlock=latest&address=0x8D6677192144292870907E3Fa8A5527fE55A7ff6&topic0=0x91ba34d62474c14d6c623cd322f4256666c7a45b7fdaa3378e009d39dfcec2a7