You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 📝 Summary
This version considers the error from the relay "block rejected because
of OFAC addresses" as non critical.
## 💡 Motivation and Context
Without this change, non OFAC compliant builders would stop building
blocks after sending a non-OFAC block to a OFAC complaint relay
(flashbot's!).
## ✅ I have completed the following steps:
* [X] Run `make lint`
* [X] Run `make test`
* [ ] Added tests (if applicable)
/// Any error containing SIM_FAILED_SUBSTRING and any of SIM_FAILED_NON_CRITICAL_ERRORS is not critical so we should not stop block building.
38
+
constSIM_FAILED_NON_CRITICAL_ERRORS:&[&str] = &[
39
+
"blacklisted address",// Generated block is good but contains a blacklisted address. This happens if we don't use an OFAC blacklist but the relay does.
0 commit comments