Skip to content

Conversation

@gnarvaja
Copy link
Contributor

Can be used to invest in Morpho vaults or other kind of vaults.

It doesn't manage rewards or other stuff.

Can be used to invest in Morpho vaults or other kind of vaults.

It doesn't manage rewards or other stuff.
/// @inheritdoc IInvestStrategy
function forwardEntryPoint(uint8, bytes memory) external view onlyDelegCall returns (bytes memory) {
// solhint-disable-next-line gas-custom-errors,reason-string
revert();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En este caso no es mejor implementar un custom error NotImplemented() en lugar de un revert a secas?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En varios lugares lo tenemos así, como un revert sin motivo. NotImplemented no aportaría demasiado

@gnarvaja gnarvaja merged commit 4fa2fa3 into main May 23, 2025
2 of 3 checks passed
@gnarvaja gnarvaja deleted the add-erc4626-strategy branch May 23, 2025 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants