-
Notifications
You must be signed in to change notification settings - Fork 247
fix: prevent owner from lowering NO fee via unguaranteed deposit #1458
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
Conversation
Hardhat Unit Tests Coverage Summary
Diff against master
Results for commit: 308050d Minimum allowed coverage is ♻️ This comment has been updated with latest results |
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.
👏 Directionally aligned, should probably cover a wider non-PDG flow
…nto flag-ung-deps
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.
👍 let's polish it up a bit
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.
LGTM!
Context
#1421
Solution
Take away the unguaranteed role from the vault owner, thus, the owner cannot deposit themselves. The role is now given to the node operator, however, the vault owner must explicitly allow/disallow unguaranteed deposits by toggling the switch.