Skip to content

Commit 108224d

Browse files
Constant change for minimum duration (#87)
1 parent 9eed09f commit 108224d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/L2/RegistrarController.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ contract RegistrarController is Ownable {
9797
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
9898

9999
/// @notice The minimum registration duration, specified in seconds.
100-
uint256 public constant MIN_REGISTRATION_DURATION = 28 days;
100+
uint256 public constant MIN_REGISTRATION_DURATION = 365 days;
101101

102102
/// @notice The minimum name length.
103103
uint256 public constant MIN_NAME_LENGTH = 3;

test/Integration/IntegrationTestBase.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ contract IntegrationTestBase is Test {
123123
vm.startPrank(alice);
124124

125125
string memory name = "alice";
126-
uint256 duration = 90 days;
126+
uint256 duration = 365.25 days;
127127

128128
uint256 registerPrice = registrarController.registerPrice(name, duration);
129129
vm.deal(alice, registerPrice);

0 commit comments

Comments
 (0)