skip-mev / pob

Skip's protocol-owned MEV builder implementation
Apache License 2.0
54 stars 10 forks source link

feat(BB): [ENG-1623] Comparing relative ordering in ProcessProposal #241

Closed davidterpay closed 1 year ago

davidterpay commented 1 year ago

Overview

We want the ordering logic defined in PrepareProposal to be enforced in ProcessProposal. The ordering logic is defined by the mempool TxPriority. This PR adds a new function to the interface that allows developers to enforce the sorting algorithm defined by TxPriority in ProcessProposal.