Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NES-265] [N5] [Critical] ERC4626 preview function override is incorrect #114

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

ungaro
Copy link
Contributor

@ungaro ungaro commented Dec 9, 2024

What's new in this PR?

use the reimplemented convertToAssets and convertToShares functions when overriding the previewMint and previewWithdraw functions.

@ungaro ungaro requested a review from eyqs December 9, 2024 14:33
@ungaro ungaro changed the title [NES-263] [N5] [Critical] ERC4626 preview function override is incorrect [NES-265] [N5] [Critical] ERC4626 preview function override is incorrect Dec 9, 2024
Copy link
Member

@eyqs eyqs left a comment

Choose a reason for hiding this comment

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

LGTM

@ungaro ungaro merged commit 0efb741 into main Dec 10, 2024
1 check passed
@ungaro ungaro deleted the alp/NES-263 branch December 10, 2024 00:30
ungaro added a commit that referenced this pull request Dec 12, 2024
…ect (#114)

* use convertToAssets and convertToShares for previewMint and previewWithdraw functions

* use convertToAssets and convertToShares functions for previewMint and previewWithdraw
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.

2 participants