ralexstokes / mev-rs

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

restore deadline priority for payload jobs #249

Closed ralexstokes closed 6 months ago

ralexstokes commented 6 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.