Open coachchucksol opened 1 week ago
Attention: Patch coverage is 88.82353%
with 19 lines
in your changes missing coverage. Please review.
Project coverage is 82.18%. Comparing base (
4af6d94
) to head (c3b714b
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The time between enqueuing withdrawal and burning a slashing event can happen. This would result in an unfavorable slippage. While this is the result of slashing, the depositor should be able to decide how much slippage they are willing to incur and make an informed decision if the slippage exceeds what they are expecting.
The first part of this solution is to allow the depositor to set the
min_amount_out
when callingenqueue_withdrawal
.Outline of proposed final solution