When CopyTipDistribution account is called before a merkle root is uploaded for an epoch, mev_earned is set to 0, when it should be set to default. This affects keeper bots which check for default values before executing.
This PR fixes that issue and adds a test for correctness.
When CopyTipDistribution account is called before a merkle root is uploaded for an epoch, mev_earned is set to 0, when it should be set to default. This affects keeper bots which check for default values before executing.
This PR fixes that issue and adds a test for correctness.