From 57a661bb2535e47b2a7b1e0f708b32858ecae537 Mon Sep 17 00:00:00 2001 From: jayadiki <74082962+jayadiki@users.noreply.github.com> Date: Wed, 10 Jun 2026 22:35:01 +0300 Subject: [PATCH] Fix typos in NatSpec comments Fixed reigstration, addrress and Thown in the L2 contract comments. Comments only, no code change. --- src/L2/EARegistrarController.sol | 2 +- src/L2/L2Resolver.sol | 4 ++-- src/L2/RegistrarController.sol | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/L2/EARegistrarController.sol b/src/L2/EARegistrarController.sol index 4cadbaa6..ce79cd52 100644 --- a/src/L2/EARegistrarController.sol +++ b/src/L2/EARegistrarController.sol @@ -40,7 +40,7 @@ contract EARegistrarController is Ownable { uint256 duration; /// @dev The address of the resolver to set for this name. address resolver; - /// @dev Multicallable data bytes for setting records in the associated resolver upon reigstration. + /// @dev Multicallable data bytes for setting records in the associated resolver upon registration. bytes[] data; /// @dev Bool to decide whether to set this name as the "primary" name for the `owner`. bool reverseRecord; diff --git a/src/L2/L2Resolver.sol b/src/L2/L2Resolver.sol index 5bde4e89..6f2f20f1 100644 --- a/src/L2/L2Resolver.sol +++ b/src/L2/L2Resolver.sol @@ -65,7 +65,7 @@ contract L2Resolver is /* ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ - /// @notice Thown when msg.sender tries to set itself as an operator. + /// @notice Thrown when msg.sender tries to set itself as an operator. error CantSetSelfAsOperator(); /// @notice Thrown when msg.sender tries to set itself as a delegate for one of its names. @@ -90,7 +90,7 @@ contract L2Resolver is /// @param approved Whether the `delegate` is approved for the specified `node`. event Approved(address owner, bytes32 indexed node, address indexed delegate, bool indexed approved); - /// @notice Emitted when the owner of this contract updates the Registrar Controller addrress. + /// @notice Emitted when the owner of this contract updates the Registrar Controller address. /// /// @param newRegistrarController The address of the new RegistrarController contract. event RegistrarControllerUpdated(address indexed newRegistrarController); diff --git a/src/L2/RegistrarController.sol b/src/L2/RegistrarController.sol index 4c35c9b5..f8a7f4c9 100644 --- a/src/L2/RegistrarController.sol +++ b/src/L2/RegistrarController.sol @@ -40,7 +40,7 @@ contract RegistrarController is Ownable { uint256 duration; /// @dev The address of the resolver to set for this name. address resolver; - /// @dev Multicallable data bytes for setting records in the associated resolver upon reigstration. + /// @dev Multicallable data bytes for setting records in the associated resolver upon registration. bytes[] data; /// @dev Bool to decide whether to set this name as the "primary" name for the `owner`. bool reverseRecord;