[fix] Handle BSC Reorgs and Reduce ETH Errata Noise
Resolves #1777 (closed).
This updates the evm
client package with the reorg handling from the ethereum
package. Also consolidates configuration for MaxReorgRescanBlocks
and reduces this from 6000
to 96
(3 epochs) for Ethereum (technically 1 epoch should be fine for finality, but just to be safe in case something weird happens). This should avoid unnecessary work on reorgs and some errata noise, which I have noticed from some nodes (lately fynv
) and I presume is due to using an Ethereum daemon with more aggressive pruning.