Skip to content

Commit

Permalink
Constant change for minimum duration (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieraykatz authored Aug 16, 2024
1 parent 9eed09f commit 108224d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/L2/RegistrarController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ contract RegistrarController is Ownable {
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

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

/// @notice The minimum name length.
uint256 public constant MIN_NAME_LENGTH = 3;
Expand Down
2 changes: 1 addition & 1 deletion test/Integration/IntegrationTestBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ contract IntegrationTestBase is Test {
vm.startPrank(alice);

string memory name = "alice";
uint256 duration = 90 days;
uint256 duration = 365.25 days;

uint256 registerPrice = registrarController.registerPrice(name, duration);
vm.deal(alice, registerPrice);
Expand Down

0 comments on commit 108224d

Please sign in to comment.