You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The #70 ruling (REVERT, 2026-07-05) requires the source to explain itself. Add @dev prose to LibERC4626.convertToAssets/convertToShares (and/or the op-level run() docs) covering:
Conversions are LOSSLESS BY DESIGN and revert on precision loss — an input Float finer than the token's decimals is the expression author's bug; round explicitly (floor/round float words) before converting.
The output path packs the vault's integer return exactly at all economic magnitudes: the int224 coefficient bounds it at raw ≥ ~1.35e67 (~1.35e49 whole tokens at 18 decimals) — CoefficientOverflow there implies a broken/adversarial vault, not a precision design flaw.
The #70 ruling (REVERT, 2026-07-05) requires the source to explain itself. Add @dev prose to LibERC4626.convertToAssets/convertToShares (and/or the op-level run() docs) covering:
Standard NatSpec prose only (no @Custom: — org gate). QA per QA-GUIDE.md: docs accuracy verified against LibDecimalFloat's actual bounds.
🤖 Generated with Claude Code