diff --git a/contracts/mixins/SelfdestructEthSender.sol b/contracts/mixins/SelfdestructEthSender.sol index 588c24db..abf8f95c 100644 --- a/contracts/mixins/SelfdestructEthSender.sol +++ b/contracts/mixins/SelfdestructEthSender.sol @@ -22,7 +22,7 @@ abstract contract SelfdestructEthSender { /** * @notice Makes the selfdestruct call, transferring the entire ETH balance of the contract to the specified address. - * Due to EIP-6780 chnges selfdestruct will destroy the contract only if it was created in the same transaction. + * Due to EIP-6780 changes selfdestruct will destroy the contract only if it was created in the same transaction. * In other cases it will stop the execution and transfer all the ETH balance saving about 1700 gas comparing to trivial transfer. * @param receiver The recipient address of the contract's ETH balance. */ diff --git a/docs/contracts/mixins/SelfdestructEthSender.md b/docs/contracts/mixins/SelfdestructEthSender.md index 57395bdd..bad065ff 100644 --- a/docs/contracts/mixins/SelfdestructEthSender.md +++ b/docs/contracts/mixins/SelfdestructEthSender.md @@ -26,7 +26,7 @@ _Initializes the contract, verifying compatibility with the Cancun EVM upgrade t function stopAndTransferBalance(address payable receiver) external ``` Makes the selfdestruct call, transferring the entire ETH balance of the contract to the specified address. -Due to EIP-6780 chnges selfdestruct will destroy the contract only if it was created in the same transaction. +Due to EIP-6780 changes selfdestruct will destroy the contract only if it was created in the same transaction. In other cases it will stop the execution and transfer all the ETH balance saving about 1700 gas comparing to trivial transfer. #### Parameters diff --git a/docs/js/src/interfaces/DeployContractOptions.md b/docs/js/src/interfaces/DeployContractOptions.md index a9b6c651..c22fb9f4 100644 --- a/docs/js/src/interfaces/DeployContractOptions.md +++ b/docs/js/src/interfaces/DeployContractOptions.md @@ -52,7 +52,7 @@ Toggles deployment logging. ## Param -Number of confirmations to wait based on network. Ussually it's need for waiting before Etherscan verification. +Number of confirmations to wait based on network. Usually it's need for waiting before Etherscan verification. ## Properties diff --git a/src/utils.ts b/src/utils.ts index 01ac97d5..54327e84 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -24,7 +24,7 @@ import { ICreate3Deployer } from '../typechain-types'; * @param maxPriorityFeePerGas Gas strategy option. * @param maxFeePerGas Gas strategy option. * @param log Toggles deployment logging. - * @param waitConfirmations Number of confirmations to wait based on network. Ussually it's need for waiting before Etherscan verification. + * @param waitConfirmations Number of confirmations to wait based on network. Usually it's need for waiting before Etherscan verification. */ export interface DeployContractOptions { contractName: string; diff --git a/test/contracts/StringUtil.test.ts b/test/contracts/StringUtil.test.ts index d1a7e6b4..f1f2b7d7 100644 --- a/test/contracts/StringUtil.test.ts +++ b/test/contracts/StringUtil.test.ts @@ -103,7 +103,7 @@ describe('StringUtil', function () { it('Compare gas usage very long byte array', () => compareGasBytes(veryLongArray)); - it('Compare gas usage extremly long byte array', () => compareGasBytes(extremelyLongArray)); + it('Compare gas usage extremely long byte array', () => compareGasBytes(extremelyLongArray)); it('Compare gas usage empty bytes', () => compareGasBytes(emptyBytes));