Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MEV Blocker kickbacks test (#124)
@fhenneke observed that high MEV Blocker refund alerts were missing. Had a look and it turns out that a topic check ``` txs["topics"][0].hex() == "0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d" ``` started failing because the left-hand side didn't have the prefix "0x". Not sure why this stopped working, but in any case, this PR proposes a slightly more robust way of doing the check. Also added a test to demonstrate the fix works. Again, the only meaningful way of running the test is by having it print the logs as well ` python -m pytest --log-cli-level=DEBUG tests/e2e/mev_blocker_kickbacks_test.py`
- Loading branch information