Withdrawal rounds in favour of the caller on both conversions
- Severity
- Medium
- Status
- Resolved
- Original
- src/Vault.sol — withdraw(), lines 182–204, at commit a3f19c2
- Fix
- Commit c81be40 — share burn in withdraw() now rounds up
- Checked
- The rounding path the finding described, and the conversions in deposit(), mint(), and redeem() that share its helper, at c81be40.
- Unrelated changes
- None in the fix commit. The external interface is unchanged.
- Residual risk
- None found for this finding.
- Status
- Resolved. Fix verified at commit c81be40.