ralexstokes / mev-rs

a gateway to a network of block builders
Other
418 stars 77 forks source link

restore deadline priority for payload jobs #249

Closed ralexstokes closed 5 months ago

ralexstokes commented 5 months ago

the current implementation kept payload jobs alive much longer than necessary and lead to many stale blocks being submitted. this highlighted some inefficiencies in mev-relay-rs and to facilitate testing, I'll rollback this change around sub-future priority.

I plan to implement auction cancellation more cleanly with canonical head updates from reth, which would solve this cleanly. And the relay implementation should be further optimized as well. But this is a good immediate fix for the time being.