Skip to content

Commit

Permalink
Reduce MEV Blocker refunds test logs (#114)
Browse files Browse the repository at this point in the history
Noticed that the threshold is relatively high for alerts, given the
current value of ETH. Also noticed that we get a lot of meaningless logs
so decided to reduce those as well.


![image](https://github.com/user-attachments/assets/73300479-2024-474c-920e-4d385321816c)
  • Loading branch information
harisang authored Aug 22, 2024
1 parent d11cfe7 commit 25228ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/monitoring_tests/mev_blocker_kickbacks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ def run(self, tx_hash: str) -> bool:
if eth_kickbacks >= KICKBACKS_ALERT_THRESHOLD:
self.alert(log_output)
else:
self.logger.info(log_output)
if eth_kickbacks > 0:
self.logger.info(log_output)
return True

0 comments on commit 25228ec

Please sign in to comment.