Commit 3e178cf
authored
reject negative profit mempool txs (#701)
## 📝 Summary
Reject mempool txs with negative profit. This can happen if our proposer
payment tx gets to the mempool and we include it.
Instead if anyone wants builder to withdraw eth we should add a list of
allowed addresses instead.
## 💡 Motivation and Context
<!--- (Optional) Why is this change required? What problem does it
solve? Remove this section if not applicable. -->
---
## ✅ I have completed the following steps:
* [ ] Run `make lint`
* [ ] Run `make test`
* [ ] Added tests (if applicable)1 parent 86f0dcd commit 3e178cf
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1216 | 1216 | | |
1217 | 1217 | | |
1218 | 1218 | | |
1219 | | - | |
| 1219 | + | |
1220 | 1220 | | |
1221 | 1221 | | |
1222 | | - | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
1223 | 1225 | | |
1224 | 1226 | | |
1225 | 1227 | | |
| |||
0 commit comments