From 1f98dc038f05f7ac0fc658965b2436d40660ba64 Mon Sep 17 00:00:00 2001 From: snoppy Date: Sat, 16 Mar 2024 11:28:32 +0800 Subject: [PATCH] comment misspell --- packages/hardhat/README.md | 2 +- packages/target-truffle-v5-test/test/DataTypesView.test.ts | 2 +- scripts/compile-contracts.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/hardhat/README.md b/packages/hardhat/README.md index 8ef5234ac..3766e9906 100644 --- a/packages/hardhat/README.md +++ b/packages/hardhat/README.md @@ -175,6 +175,6 @@ Original work done by [@RHLSTHRM](https://twitter.com/RHLSTHRM). ## Troubleshooting Using the types generated by this plugin can lead to Hardhat failing to run. The reason is that the types are not -avialable for loading the config, and that's required to generate the types. +available for loading the config, and that's required to generate the types. To workaround this issue, you can run `TS_NODE_TRANSPILE_ONLY=1 npx hardhat compile`. diff --git a/packages/target-truffle-v5-test/test/DataTypesView.test.ts b/packages/target-truffle-v5-test/test/DataTypesView.test.ts index 883fbc736..5e4f20fe3 100644 --- a/packages/target-truffle-v5-test/test/DataTypesView.test.ts +++ b/packages/target-truffle-v5-test/test/DataTypesView.test.ts @@ -34,7 +34,7 @@ contract('DataTypesView', ([deployer]) => { typedAssert(await c.view_tuple(), { 0: new BigNumber('1'), 1: new BigNumber('2') }) - // structs doesnt work: could be because of solidty 0.4.x but we are stuck at it + // structs doesnt work: could be because of solidity 0.4.x but we are stuck at it // typedAssert(await c.view_struct(), { // uint256_0: new BigNumber('1'), // uint256_1: new BigNumber('2'), diff --git a/scripts/compile-contracts.ts b/scripts/compile-contracts.ts index 8897854b8..3d5545eeb 100644 --- a/scripts/compile-contracts.ts +++ b/scripts/compile-contracts.ts @@ -93,7 +93,7 @@ function generateABIs({ rootDir, contracts }: Files) { } /** - * Rename ugly names generated by solc to something human redable. + * Rename ugly names generated by solc to something human readable. */ function renameOutputNames({ outDir, contracts, contractsDir }: Files) { console.log(bold('Renaming ABIs'))