-
Notifications
You must be signed in to change notification settings - Fork 0
kenzo - Redeemer.setFee
will always revert
#53
Comments
Escalate for 100 USDC |
You've created a valid escalation for 100 USDC! To remove the escalation from consideration: Delete your comment. You may delete or edit your escalation comment anytime before the 48-hour escalation window closes. After that, the escalation becomes final. |
Escalation accepted |
This issue's escalations have been accepted! Contestants' payouts and scores will be updated according to the changes made on this issue. |
kenzo
low
Redeemer.setFee
will always revertSummary
setFee
will always revert due to missing way to setfeeChange
variable.Vulnerability Detail
Described above and below.
Impact
Redeemer fee can not be changed.
Code Snippet
The fee can only be changed via
setFee
function.It reverts if
feeChange==0
:There is no way in the code to set
feeChange
.Therefore the function will always revert and the fee can not be changed.
Tool used
Manual Review
Recommendation
Add a function to change
feeChange
.Duplicate of #34
The text was updated successfully, but these errors were encountered: