Skip to content

New sorting modes #499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 17, 2025
Merged

New sorting modes #499

merged 2 commits into from
Mar 17, 2025

Conversation

ZanCorDX
Copy link
Collaborator

📝 Summary

This PR adds 3 new experimental sorting modes for block building:

/// Orders are ordered by their origin (bundle/sbundles then mempool) and then by their absolute profit.
TypeMaxProfit,
/// Orders are ordered by length 3 (orders length >= 3 first) and then by their absolute profit.
LengthThreeMaxProfit,
/// Orders are ordered by length 3 (orders length >= 3 first) and then by their mev gas price.
LengthThreeMevGasPrice,

💡 Motivation and Context

✅ I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

@ZanCorDX ZanCorDX requested review from dvush and ferranbt as code owners March 13, 2025 18:26
@ZanCorDX ZanCorDX merged commit df23150 into develop Mar 17, 2025
4 checks passed
@ZanCorDX ZanCorDX deleted the new-sorting-modes branch March 17, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants