subgraphs
subgraphs copied to clipboard
Compound / Aave v2 Forks `Position` fails to load
The position entity fails to load in these subgraphs pretty often, resulting in missing many valid Transactions
. Here we see it occur 4x in 30s
@dmelotik would be helpful to investigate: when it says position not found, is it that these positions will never be created, or they are created but just slightly later than the log?
@0xbe1 It seems like this issue is only happening on transactions where subtractPosition()
is called, and this does not create a new position, but tries to load an existing one.
So maybe the logic to find the existing position is not 100% accurate. Another thing I was thinking about is that there may be a chance that a third party account is executing these transactions on the borrower/suppliers behalf, and the logic does not account for it.
@0xbe1 It seems like this issue is only happening on transactions where
subtractPosition()
is called, and this does not create a new position, but tries to load an existing one.So maybe the logic to find the existing position is not 100% accurate. Another thing I was thinking about is that there may be a chance that a third party account is executing these transactions on the borrower/suppliers behalf, and the logic does not account for it.
Agreed
fixed in compound forks with #1008 closing and opening a separate issue to track persisting issues in aave v2