flashbots / mev-inspect-py

🔎 an MEV inspector for Ethereum 🔎
MIT License
826 stars 258 forks source link

Reverted liquidiations on Compound not handled properly causing block processing to fail #315

Closed pintail-xyz closed 1 year ago

pintail-xyz commented 2 years ago

Reverted Compound liquidations are not properly handled and cause an exception during block processing. For example:

block 15049646 processing fails due to transaction 0x6dd0d8be8a77651f64ef399b47fbc87011bd796b43349c3164ff7da965e0b345

other examples are:

0x4ad1e75751058213ece676f2b68fcccdd8290d5db86539773f8c0b15961e0bc3 (block 15352204) 0x56fe1a490b1cea68957721754c0275b4737ef836ca564c114c051cab88b19938 (block 15382895) 0x779537496f27aa54db49dbcb1c3abc710cf46f9f25a2e4f433db063c6ca5e4ad (block 15382904) etc

To reproduce run ./mev inspect with any of the above block numbers.