Open notV4l opened 3 hours ago
Hello can i be assigned this issue
The bug seems to be related to an underflow condition when subtracting from a zero balance. The code is likely trying to prevent negative balances, but the check is failing because it's using a constant-time comparison (from the subtle crate) that's asserting equality when it should be asserting inequality (i.e., ensuring the balance doesn't go below zero).
i tried indexing just the contract which caused the issue but cannot seem to reproduce it:
can you please share the DB file of the run that you are seeing this error in so i can debug this further @notV4l
Describe the bug
To Reproduce On mainnet indexing Blobert / LS / Ekubo positions
Additional context alpha.15