Skip to content

Commit

Permalink
docs: tweak comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yonadaa committed Jan 26, 2024
1 parent e8b555e commit 3c1803f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/world/src/IWorldKernel.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface IWorldModuleInstallation {
* @notice Install the given root module in the World.
* @dev Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.
* @param module The module to be installed.
* @param encodedArgs The ABI encoded arguments that may be needed during the installation process.
* @param encodedArgs The ABI encoded arguments for the module installation.
*/
function installRootModule(IModule module, bytes memory encodedArgs) external;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/world/src/Module.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ abstract contract Module is IModule, WorldContextConsumer {
/**
* @dev Check if a module with the given name and arguments is installed.
* @param moduleAddress The address of the module.
* @param encodedArgs The ABI encoded arguments that may be needed during the installation process.
* @param encodedArgs The ABI encoded arguments for the module installation.
* @return true if the module is installed, false otherwise.
*/
function isInstalled(address moduleAddress, bytes memory encodedArgs) internal view returns (bool) {
Expand All @@ -42,7 +42,7 @@ abstract contract Module is IModule, WorldContextConsumer {
/**
* @dev Revert if the module with the given name and arguments is already installed.
* @param moduleAddress The address of the module.
* @param encodedArgs The ABI encoded arguments that may be needed during the installation process.
* @param encodedArgs The ABI encoded arguments for the module installation.
*/
function requireNotInstalled(address moduleAddress, bytes memory encodedArgs) internal view {
if (isInstalled(moduleAddress, encodedArgs)) {
Expand Down

0 comments on commit 3c1803f

Please sign in to comment.