Skip to content

Commit

Permalink
Remove reverse claiming from EARegistrarController (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieraykatz authored Jul 23, 2024
1 parent bd44c3d commit bd50b42
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/L2/EARegistrarController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ contract EARegistrarController is Ownable {

/// @notice Registrar Controller construction sets all of the requisite external contracts.
///
/// @dev Assigns ownership of this contract's reverse record to the `owner_`.
///
/// @param base_ The base registrar contract.
/// @param prices_ The pricing oracle contract.
/// @param reverseRegistrar_ The reverse registrar contract.
Expand All @@ -274,7 +272,6 @@ contract EARegistrarController is Ownable {
rootName = rootName_;
paymentReceiver = paymentReceiver_;
_initializeOwner(owner_);
reverseRegistrar.claim(owner_);
}

/// @notice Allows the `owner` to set discount details for a specified `key`.
Expand Down
1 change: 0 additions & 1 deletion test/EARegistrarController/EARegistrarControllerBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ contract EARegistrarControllerBase is Test {
function test_controller_constructor() public view {
assertEq(address(controller.prices()), address(prices));
assertEq(address(controller.reverseRegistrar()), address(reverse));
assertTrue(reverse.hasClaimed(owner));
assertEq(controller.owner(), owner);
assertEq(controller.rootNode(), rootNode);
assertEq(keccak256(bytes(controller.rootName())), keccak256(bytes(rootName)));
Expand Down

0 comments on commit bd50b42

Please sign in to comment.