From 7bdb4070f4f48ceec51ed19d40cd236cebc1fee1 Mon Sep 17 00:00:00 2001 From: katzman Date: Tue, 25 Jun 2024 13:03:49 -0700 Subject: [PATCH] Clarify comment on renewal pricing --- src/L2/RegistrarController.sol | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/L2/RegistrarController.sol b/src/L2/RegistrarController.sol index be828e50..20401999 100644 --- a/src/L2/RegistrarController.sol +++ b/src/L2/RegistrarController.sol @@ -443,8 +443,9 @@ contract RegistrarController is Ownable { /// @notice Allows a caller to renew a name for a specified duration. /// /// @dev This `payable` method must receive appropriate `msg.value` to pass `_validatePayment()`. - /// The price for renewal never incorporates pricing `premium`. Use the `base` price returned by the `rentPrice` - /// tuple to determine the price for calling this method. + /// The price for renewal never incorporates pricing `premium`. This is because we only expect + /// renewal on names that are not expired or are in the grace period. Use the `base` price returned + /// by the `rentPrice` tuple to determine the price for calling this method. /// /// @param name The name that is being renewed. /// @param duration The duration to extend the expiry, in seconds.