Skip to content

Conversation

@ZanCorDX
Copy link
Collaborator

πŸ“ Summary

This PR avoids generating ERRORs and triggering alarms on MEV Protect errors.

βœ… I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)
  • Cooked new year's eve dinner (anybody with more than 10 approved PRs is invited for dinner)

@ZanCorDX ZanCorDX requested a review from dvush as a code owner December 30, 2025 19:06
err = ?relay_result.unwrap_err(),
"Error block simulation fail, cancelling"
);
let error_text = relay_result.as_ref().unwrap_err().to_string();
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please explain why are we adding this code here. We already had some code that handles non-critical sim error messages.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Moved to map_relay_error_message.
It's still a SimError so I added a flag to tell if it's critical. It was that or add a new error code.
Notice we need to cancel even if it's no critical.

@ZanCorDX ZanCorDX requested a review from dvush January 5, 2026 18:24
@ZanCorDX ZanCorDX merged commit 6640533 into develop Jan 6, 2026
3 of 4 checks passed
@ZanCorDX ZanCorDX deleted the dx/ignore-error branch January 6, 2026 13:40
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