Skip to content

Commit 5857ec5

Browse files
authored
chore: fix some comments (LayerZero-Labs#785)
Signed-off-by: withbest <seekseat@outlook.com>
1 parent 9d9851b commit 5857ec5

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ git submodule update --init
4545

4646
### Setting up the environment
4747

48-
This repository uses `pnpm` as its package manager and has a requirement on the minimum `node` version used. If using `nvm`, please run the following to setup the enviornment:
48+
This repository uses `pnpm` as its package manager and has a requirement on the minimum `node` version used. If using `nvm`, please run the following to setup the environment:
4949

5050
```bash
5151
# or nvm install if nvm use fails

docker-compose.registry.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ services:
8282
# we'll set these based on the default variables github gives us
8383
#
8484
# If these are not provided, for example if running on a local machine,
85-
# we'll default them to our repository and and empty ref
85+
# we'll default them to our repository and empty ref
8686
environment:
8787
- LAYERZERO_EXAMPLES_REPOSITORY_URL=${LAYERZERO_EXAMPLES_REPOSITORY_URL}
8888
- LAYERZERO_EXAMPLES_REPOSITORY_REF=${LAYERZERO_EXAMPLES_REPOSITORY_REF}

packages/devtools-evm-hardhat/src/runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const getHreByNetworkName: GetByNetwork<HardhatRuntimeEnvironment> = pMem
122122
const environment = getDefaultRuntimeEnvironment()
123123

124124
try {
125-
// The last step is to create a duplicate enviornment that mimics the original one
125+
// The last step is to create a duplicate environment that mimics the original one
126126
// with one crucial difference - the network setup
127127
return new HardhatRuntimeEnvironmentImplementation(
128128
environment.config,

packages/export-deployments/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This package comes with a CLI interface and registers an executable called `@lay
4040
npx @layerzerolabs/export-deployments
4141
```
4242

43-
### Programatic usage
43+
### Programmatic usage
4444

4545
```typescript
4646
// generateSafe is an error-safe function that returns an Either<Error, OutputFile[]> object

packages/oft-evm/contracts/interfaces/IOFT.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct SendParam {
1919

2020
/**
2121
* @dev Struct representing OFT limit information.
22-
* @dev These amounts can change dynamically and are up the the specific oft implementation.
22+
* @dev These amounts can change dynamically and are up the specific oft implementation.
2323
*/
2424
struct OFTLimit {
2525
uint256 minAmountLD; // Minimum amount in local decimals that can be sent to the recipient.

packages/verify-contract/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ npx @layerzerolabs/verify-contract --help
3838

3939
Using the CLI, contracts can be verified one network at a time.
4040

41-
### Programatic usage
41+
### Programmatic usage
4242

4343
The package provides two types of verification for hardhat deploy: _target_ and _non-target_.
4444

packages/verify-contract/src/common/config.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export const parseNetworksConfig = (
3030
Please provide the API URL:
3131
3232
- As an apiUrl config parameter in ${networkName} config
33-
- As a SCAN_API_URL_${networkName} enviornment variable
34-
- As a SCAN_API_URL_${normalizeNetworkName(networkName)} enviornment variable
33+
- As a SCAN_API_URL_${networkName} environment variable
34+
- As a SCAN_API_URL_${normalizeNetworkName(networkName)} environment variable
3535
`
3636
)
3737

@@ -43,8 +43,8 @@ Please provide the API URL:
4343
Please provide the API key:
4444
4545
- As an apiKey config parameter in ${networkName} config
46-
- As a SCAN_API_KEY_${networkName} enviornment variable
47-
- As a SCAN_API_KEY_${normalizeNetworkName(networkName)} enviornment variable`)
46+
- As a SCAN_API_KEY_${networkName} environment variable
47+
- As a SCAN_API_KEY_${normalizeNetworkName(networkName)} environment variable`)
4848
}
4949

5050
// Similar thing goes for scan browser URL, if not provided then life goes on
@@ -60,8 +60,8 @@ Please provide the API key:
6060
Please provide the browser URL:
6161
6262
- As an browserUrl config parameter in ${networkName} config
63-
- As a SCAN_BROWSER_URL_${networkName} enviornment variable
64-
- As a SCAN_BROWSER_URL_${normalizeNetworkName(networkName)} enviornment variable`)
63+
- As a SCAN_BROWSER_URL_${networkName} environment variable
64+
- As a SCAN_BROWSER_URL_${normalizeNetworkName(networkName)} environment variable`)
6565
}
6666

6767
return {

0 commit comments

Comments
 (0)