Skip to content

Commit

Permalink
Merge pull request #166 from deterclosed/master
Browse files Browse the repository at this point in the history
chore: fix some typos in comment
  • Loading branch information
zZoMROT authored Dec 13, 2024
2 parents b0c7c19 + a2ebdfe commit 37b55c6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contracts/mixins/SelfdestructEthSender.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/contracts/mixins/SelfdestructEthSender.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/js/src/interfaces/DeployContractOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1inch/solidity-utils",
"version": "6.2.1",
"version": "6.2.2",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/contracts/StringUtil.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 37b55c6

Please sign in to comment.