yearn-vaults-v2-subgraph
yearn-vaults-v2-subgraph copied to clipboard
AccountVaultPosition.balanceProfit returns inaccurate results when testing deposits
When performing a basic deposit() test, AccountVaultPosition.balanceProfit records the deposited amount as profit.
This value should be 0 as there has been no profit recognized by the vault in the conditions set up by the test.
seems this todo is gone. can we close?
I think this one is still not solved. The test this issue is about is commented out. You can find it at line 24 in this file