Skip to content

Commit 37b55c6

Browse files
authored
Merge pull request 1inch#166 from deterclosed/master
chore: fix some typos in comment
2 parents b0c7c19 + a2ebdfe commit 37b55c6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

contracts/mixins/SelfdestructEthSender.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ abstract contract SelfdestructEthSender {
2222

2323
/**
2424
* @notice Makes the selfdestruct call, transferring the entire ETH balance of the contract to the specified address.
25-
* Due to EIP-6780 chnges selfdestruct will destroy the contract only if it was created in the same transaction.
25+
* Due to EIP-6780 changes selfdestruct will destroy the contract only if it was created in the same transaction.
2626
* In other cases it will stop the execution and transfer all the ETH balance saving about 1700 gas comparing to trivial transfer.
2727
* @param receiver The recipient address of the contract's ETH balance.
2828
*/

docs/contracts/mixins/SelfdestructEthSender.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ _Initializes the contract, verifying compatibility with the Cancun EVM upgrade t
2626
function stopAndTransferBalance(address payable receiver) external
2727
```
2828
Makes the selfdestruct call, transferring the entire ETH balance of the contract to the specified address.
29-
Due to EIP-6780 chnges selfdestruct will destroy the contract only if it was created in the same transaction.
29+
Due to EIP-6780 changes selfdestruct will destroy the contract only if it was created in the same transaction.
3030
In other cases it will stop the execution and transfer all the ETH balance saving about 1700 gas comparing to trivial transfer.
3131

3232
#### Parameters

docs/js/src/interfaces/DeployContractOptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Toggles deployment logging.
5252

5353
## Param
5454

55-
Number of confirmations to wait based on network. Ussually it's need for waiting before Etherscan verification.
55+
Number of confirmations to wait based on network. Usually it's need for waiting before Etherscan verification.
5656

5757
## Properties
5858

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@1inch/solidity-utils",
3-
"version": "6.2.1",
3+
"version": "6.2.2",
44
"main": "dist/src/index.js",
55
"types": "dist/src/index.d.ts",
66
"exports": {

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { ICreate3Deployer } from '../typechain-types';
2424
* @param maxPriorityFeePerGas Gas strategy option.
2525
* @param maxFeePerGas Gas strategy option.
2626
* @param log Toggles deployment logging.
27-
* @param waitConfirmations Number of confirmations to wait based on network. Ussually it's need for waiting before Etherscan verification.
27+
* @param waitConfirmations Number of confirmations to wait based on network. Usually it's need for waiting before Etherscan verification.
2828
*/
2929
export interface DeployContractOptions {
3030
contractName: string;

test/contracts/StringUtil.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe('StringUtil', function () {
103103

104104
it('Compare gas usage very long byte array', () => compareGasBytes(veryLongArray));
105105

106-
it('Compare gas usage extremly long byte array', () => compareGasBytes(extremelyLongArray));
106+
it('Compare gas usage extremely long byte array', () => compareGasBytes(extremelyLongArray));
107107

108108
it('Compare gas usage empty bytes', () => compareGasBytes(emptyBytes));
109109

0 commit comments

Comments
 (0)