From 36c96e1e33665b34381bcf495b7ad017021475cb Mon Sep 17 00:00:00 2001 From: peyha Date: Thu, 27 Aug 2026 12:04:30 +0200 Subject: [PATCH 1/2] doc: dust position comment --- src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol b/src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol index 46695e8be..9568ff57a 100644 --- a/src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol +++ b/src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol @@ -22,6 +22,8 @@ import {SafeApproveLib} from "../libraries/SafeApproveLib.sol"; /// which case the destination position debt and collateral can be difficult to predict. /// @dev Contrary to Midnight, Blue positions can be liquidated because of interest accrual, which should be taken into /// account when deciding/approving the rolling configuration. +/// @dev Nothing prevents rollers from leaving a small amount of debt on Midnight that would be unprofitable to roll +/// though incentiveAtEnd can mitigate the size of the remaining debt. contract BlueFallbackRolling is IBlueFallbackRolling { using MarketParamsLib for MarketParams; using UtilsLib for uint128; From 7a917f20b1c6d64baee3865ce00f3be2da7a7d8b Mon Sep 17 00:00:00 2001 From: MathisGD <74971347+MathisGD@users.noreply.github.com> Date: Tue, 1 Sep 2026 11:29:31 +0200 Subject: [PATCH 2/2] Apply batched suggestions from code review Co-authored-by: MathisGD <74971347+MathisGD@users.noreply.github.com> Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com> --- src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol b/src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol index c0cc9f145..2a43c6139 100644 --- a/src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol +++ b/src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol @@ -22,8 +22,7 @@ import {SafeApproveLib} from "../libraries/SafeApproveLib.sol"; /// which case the destination position debt and collateral can be difficult to predict. /// @dev Contrary to Midnight, Blue positions can be liquidated because of interest accrual, which should be taken into /// account when deciding/approving the rolling configuration. -/// @dev Nothing prevents rollers from leaving a small amount of debt on Midnight that would be unprofitable to roll -/// though incentiveAtEnd can mitigate the size of the remaining debt. +/// @dev Nothing prevents rollers from leaving a small amount of debt on Midnight that would be unprofitable to roll. /// @dev Inherits the token safety requirements of Midnight and Blue. contract BlueFallbackRolling is IBlueFallbackRolling { using MarketParamsLib for MarketParams;