Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: withbest <[email protected]>
  • Loading branch information
withbest committed Jul 28, 2024
1 parent 9d9851b commit cef2048
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ git submodule update --init

### Setting up the environment

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:
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:

```bash
# or nvm install if nvm use fails
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ services:
# we'll set these based on the default variables github gives us
#
# If these are not provided, for example if running on a local machine,
# we'll default them to our repository and and empty ref
# we'll default them to our repository and empty ref
environment:
- LAYERZERO_EXAMPLES_REPOSITORY_URL=${LAYERZERO_EXAMPLES_REPOSITORY_URL}
- LAYERZERO_EXAMPLES_REPOSITORY_REF=${LAYERZERO_EXAMPLES_REPOSITORY_REF}
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-evm-hardhat/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const getHreByNetworkName: GetByNetwork<HardhatRuntimeEnvironment> = pMem
const environment = getDefaultRuntimeEnvironment()

try {
// The last step is to create a duplicate enviornment that mimics the original one
// The last step is to create a duplicate environment that mimics the original one
// with one crucial difference - the network setup
return new HardhatRuntimeEnvironmentImplementation(
environment.config,
Expand Down
2 changes: 1 addition & 1 deletion packages/export-deployments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This package comes with a CLI interface and registers an executable called `@lay
npx @layerzerolabs/export-deployments
```

### Programatic usage
### Programmatic usage

```typescript
// generateSafe is an error-safe function that returns an Either<Error, OutputFile[]> object
Expand Down
2 changes: 1 addition & 1 deletion packages/oft-evm/contracts/interfaces/IOFT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct SendParam {

/**
* @dev Struct representing OFT limit information.
* @dev These amounts can change dynamically and are up the the specific oft implementation.
* @dev These amounts can change dynamically and are up the specific oft implementation.
*/
struct OFTLimit {
uint256 minAmountLD; // Minimum amount in local decimals that can be sent to the recipient.
Expand Down
2 changes: 1 addition & 1 deletion packages/verify-contract/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ npx @layerzerolabs/verify-contract --help

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

### Programatic usage
### Programmatic usage

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

Expand Down
12 changes: 6 additions & 6 deletions packages/verify-contract/src/common/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export const parseNetworksConfig = (
Please provide the API URL:
- As an apiUrl config parameter in ${networkName} config
- As a SCAN_API_URL_${networkName} enviornment variable
- As a SCAN_API_URL_${normalizeNetworkName(networkName)} enviornment variable
- As a SCAN_API_URL_${networkName} environment variable
- As a SCAN_API_URL_${normalizeNetworkName(networkName)} environment variable
`
)

Expand All @@ -43,8 +43,8 @@ Please provide the API URL:
Please provide the API key:
- As an apiKey config parameter in ${networkName} config
- As a SCAN_API_KEY_${networkName} enviornment variable
- As a SCAN_API_KEY_${normalizeNetworkName(networkName)} enviornment variable`)
- As a SCAN_API_KEY_${networkName} environment variable
- As a SCAN_API_KEY_${normalizeNetworkName(networkName)} environment variable`)
}

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

return {
Expand Down

0 comments on commit cef2048

Please sign in to comment.