-
Notifications
You must be signed in to change notification settings - Fork 0
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
Openzeppelin synth fixes #1
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
200ed48
restrict function visibility
MickdeGraaf cb446be
Named parameters in minters mapping
MickdeGraaf 4884946
Use named imports
MickdeGraaf d6b6548
gas + code improvements
MickdeGraaf b3d074f
typo fix
MickdeGraaf 9b79936
Emit events in state changing functions
MickdeGraaf 807ecb7
Only gulp when sufficient shares are minted
MickdeGraaf 4504852
Test gulp threshold
MickdeGraaf b10e73c
Allow withdraws and redeems when a controller is set
MickdeGraaf ddbd121
Add missing docstrings
MickdeGraaf 0ffc50a
remove _withdraw override and throw original errors on redeem and wit…
MickdeGraaf 7c56d35
Merge pull request #14 from euler-xyz/fix-OZ-Synth-L-03-final
MickdeGraaf afd1d41
Merge pull request #13 from euler-xyz/fix/OZ-Synths-CR-02
MickdeGraaf 6f23ba7
Merge branch 'openzeppelin-synth-fixes' into fix/OZ-Synths-CR-01
MickdeGraaf 0b43778
Merge pull request #12 from euler-xyz/fix/OZ-Synths-CR-01
MickdeGraaf e4d7c1d
Merge pull request #11 from euler-xyz/fix/OZ-Synths-N-11
MickdeGraaf fb336db
Merge pull request #10 from euler-xyz/fix/OZ-Synths-N-09
MickdeGraaf 2ffe51c
Merge pull request #9 from euler-xyz/fix/OZ-Synths-N-08
MickdeGraaf 141e528
Merge pull request #8 from euler-xyz/fix/OZ-Synth-N-06
MickdeGraaf 9df0b7c
Merge branch 'openzeppelin-synth-fixes' into fix/OZ-Synth-N-05
MickdeGraaf 8bcb032
Merge pull request #7 from euler-xyz/fix/OZ-Synth-N-05
MickdeGraaf 561af00
Switch to named imports
MickdeGraaf 818e1b2
Merge pull request #6 from euler-xyz/fix/OZ-Synth-N-03
MickdeGraaf 06c82e7
Merge branch 'openzeppelin-synth-fixes' into fix/OZ-Synth-N-01-final
MickdeGraaf 842c53d
Merge pull request #5 from euler-xyz/fix/OZ-Synth-N-01-final
MickdeGraaf 7bd80ef
docstring fixes
MickdeGraaf 439896f
formatting fix
MickdeGraaf d137421
Merge pull request #1 from euler-xyz/fix/OZ-Synth-L-02
MickdeGraaf d5ca0a2
Merge branch 'openzeppelin-synth-fixes' of https://github.com/euler-x…
kasperpawlowski c2779f2
chore: formatting
kasperpawlowski ca5fca5
fix: OZ L-04 (continuation)
kasperpawlowski 52b1fb0
fix: formatting
kasperpawlowski 3c22922
test: fix testFuzz_gulp_under_uint168
kasperpawlowski d57b84e
fix: formatting
kasperpawlowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't
_deposit()
also be updated to match the pattern here?evk-cantina-fixes/src/Synths/EulerSavingsRate.sol
Line 230 in c2779f2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems that OZ missed that when reviewing. this was Mick's PR for the issue: https://github.com/euler-xyz/openzeppelin-synth-fixes-private/pull/13/files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I noticed that, I guess we either do the full fix or they should mark it as partially fixed in the report.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed here: ca5fca5