Skip to content

Conversation

@prestwich
Copy link
Member

@prestwich prestwich commented Aug 20, 2025

Adds Order enforcement to the bundle execution driver :)

A limitation of this is that it doesn't allow bundles that internally underfill (i.e. implicit dependencies on prior overfills)

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@prestwich prestwich marked this pull request as ready for review August 20, 2025 14:58
@prestwich prestwich requested a review from a team as a code owner August 20, 2025 14:58
@prestwich prestwich requested a review from Evalir August 20, 2025 14:58
// error our simulation.
if result.is_success() {
if self.check_fills(&mut t).is_err()
&& !self.bundle.reverting_tx_hashes().contains(tx_hash)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's actually kind of funny. someone could mark a fill as reverting. In what situation would that actually be desirable? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

someone can mark any transaction as reverting, and that's okay, the rules are still enforced :)

Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meant to approve earlier. lgtm

@prestwich prestwich merged commit d0d37c4 into main Aug 20, 2025
7 checks passed
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.

3 participants