As pointed out by Neodyme, a malicious cranker could spam FetchPoolPrice transactions, and although eventually the SellRewards should win if there is some probability for either transaction to win the race, this could delay selling for the rewards for some time. To mitigate that, give SellRewards a head start of one slot, so if there are two crankers that are spamming FetchPoolPrice and SellRewards, the SellRewards would win.
As pointed out by Neodyme, a malicious cranker could spam
FetchPoolPrice
transactions, and although eventually theSellRewards
should win if there is some probability for either transaction to win the race, this could delay selling for the rewards for some time. To mitigate that, giveSellRewards
a head start of one slot, so if there are two crankers that are spammingFetchPoolPrice
andSellRewards
, theSellRewards
would win.