diff --git a/script/foundry/utils/upgrades/StorageLayoutCheck.s.sol b/script/foundry/utils/upgrades/StorageLayoutCheck.s.sol index 271424fa3..64c91598c 100644 --- a/script/foundry/utils/upgrades/StorageLayoutCheck.s.sol +++ b/script/foundry/utils/upgrades/StorageLayoutCheck.s.sol @@ -22,7 +22,7 @@ contract StorageLayoutChecker is Script { /// @notice Runs the storage layout check - /// @dev For simplicity and efficiency, we check all the upgradeablecontracts in the project + /// @dev For simplicity and efficiency, we check all the upgradeable contracts in the project /// instead of going 1 by 1 using ffi. function _validate() internal { string[] memory inputs = _buildValidateCommand(); @@ -62,4 +62,4 @@ contract StorageLayoutChecker is Script { return inputs; } -} \ No newline at end of file +} diff --git a/script/foundry/utils/upgrades/UpgradeExecutor.s.sol b/script/foundry/utils/upgrades/UpgradeExecutor.s.sol index b042b2111..97f5efb38 100644 --- a/script/foundry/utils/upgrades/UpgradeExecutor.s.sol +++ b/script/foundry/utils/upgrades/UpgradeExecutor.s.sol @@ -117,7 +117,7 @@ abstract contract UpgradeExecutor is Script, BroadcastManager, JsonDeploymentHan } else { revert("Invalid mode"); } - // If output is JSON, write the batch txx to file + // If output is JSON, write the batch txs to file if (outputType == Output.BATCH_TX_JSON) { string memory action; if (mode == UpgradeModes.SCHEDULE) { diff --git a/script/hardhat/deployment/00-deploy-main.ts b/script/hardhat/deployment/00-deploy-main.ts index b1f0cc363..416d02755 100644 --- a/script/hardhat/deployment/00-deploy-main.ts +++ b/script/hardhat/deployment/00-deploy-main.ts @@ -62,7 +62,7 @@ async function deployMain() { ) await _saveStateBeforeDeploy(provider) - await _deployLibaries(deployLibrary) + await _deployLibraries(deployLibrary) await _deployContracts(deployContract) // await _verifyAll() await _postDeploy() @@ -78,7 +78,7 @@ async function _saveStateBeforeDeploy(provider: JsonRpcProvider) { fs.writeFileSync(checkpointPath, JSON.stringify({ checkpoint }, null, 2)) } -async function _deployLibaries(deployLibrary: any) { +async function _deployLibraries(deployLibrary: any) { // do one by one to keep nonce in order await deployLibrary("AccessPermission") await deployLibrary("Errors") diff --git a/test/foundry/access/AccessController.t.sol b/test/foundry/access/AccessController.t.sol index 44df6aa04..8bc9ded7f 100644 --- a/test/foundry/access/AccessController.t.sol +++ b/test/foundry/access/AccessController.t.sol @@ -37,7 +37,7 @@ contract AccessControllerTest is BaseTest { // test non owner cannot set specific permission // test permission overrides // test wildcard permission - // test whilelist permission + // test whitelist permission // test blacklist permission // module call ipAccount call module // ipAccount call module @@ -1128,7 +1128,7 @@ contract AccessControllerTest is BaseTest { ); } - function test_AccessController_revert_setBatchPermissionsButCallerisNotIPAccount() public { + function test_AccessController_revert_setBatchPermissionsButCallerIsNotIPAccount() public { address signer = vm.addr(2); AccessPermission.Permission[] memory permissionList = new AccessPermission.Permission[](3);