Closed melotik closed 1 year ago
@dmelotik I've done the change for the protocols you mentioned. Just confirming if we have to do this for other YA subgraphs too, or are these it for now?
yes, those are the only protocols I saw that had the issue @dhruv-chauhan
Describe the bug It is possible that a
vaultSnapshot
can be initialized and the TVL (and other fields) are set to 0, but then they are never updated to their proper value.This is causing false 0s in snapshots.
To fix this:
vault
values on initialization, and not after the fact.