It's current bottleneck of eth_getLogs (and likely several others Receipt-realted RPC):
related to #14371
Also maybe reduce amount of wrappers (if not possible - ok):
txNumsReader := rawdbv3.TxNums.WithCustomReadTxNumFunc(freezeblocks.ReadTxNumFuncFromBlockReader(ctx, cfg.blockReader))
It's current bottleneck of eth_getLogs (and likely several others Receipt-realted RPC):
related to #14371
Also maybe reduce amount of wrappers (if not possible - ok):