No incentive to call transmute()
instead of forceTransmute(self)
#68
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
wont fix
Handle
cmichel
Vulnerability details
The difference between the
Transmuter.transmute
function and callingforceTransmute(self)
on the own account is thattransmute
reallocates any excess yield to all other stakers, whileforceTransmute
pays out the excess yield to the user.Impact
There doesn't seem to be an economic incentive for rational agents to call
transmute
instead of just force-transmuting themselves.Recommended Mitigation Steps
Remove the
transmute
function or removeforceTransmute
and make its behavior the default fortransmute
.The text was updated successfully, but these errors were encountered: