Skip to content

Fail on test_shutdown.py #2

@OpenOrg-gg

Description

@OpenOrg-gg

In test_shutdown.py I am still failing at line 45 when it calls estimatedTotalAssets().

The test is supposed to compare that the assets deposited still equal roughly the same after the first harvest right after a deposit (when in theory no profit has been made)

However, the assets come out to more than expected. This seems to suggest I'm either:

  1. instantly gaining some profit from the contract upon deposit (which could be with how they count share balances)

Or

  1. that I am miscalculating the reported profit, but I do not see anything in estimatedTotalAssets() that suggests that.

Would love support in double checking this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions