primitivefinance/portfolio

Strategies missing caller validation

Alexangelj opened this issue · 0 comments

The strategy hooks implemented in NormalStrategy.sol are missing checks to validate the caller is the portfolio contract. These checks should be in here to avoid assumptions around what state can be modified with the hooks.