From 4be0eec21ff62541bcfcb81aa8df629d8854a02e Mon Sep 17 00:00:00 2001 From: Maks Date: Mon, 2 Dec 2024 10:57:21 +0100 Subject: [PATCH] Fix typos and improve documentation clarity (#5985) * Update README.md * Update oracles.md * Update reference.md --- docs/src/content/hardhat-chai-matchers/docs/reference.md | 2 +- .../src/content/hardhat-runner/docs/supporter-guides/oracles.md | 2 +- packages/hardhat-web3-v4/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/content/hardhat-chai-matchers/docs/reference.md b/docs/src/content/hardhat-chai-matchers/docs/reference.md index 9b9f5f866e..da747af56a 100644 --- a/docs/src/content/hardhat-chai-matchers/docs/reference.md +++ b/docs/src/content/hardhat-chai-matchers/docs/reference.md @@ -259,7 +259,7 @@ expect("0x1234").to.be.properHex(4); ### `.hexEqual` -Assert that the given strings hexadecimal strings correspond to the same numerical value: +Assert that the given hexadecimal strings correspond to the same numerical value: ```ts expect("0x00012AB").to.hexEqual("0x12ab"); diff --git a/docs/src/content/hardhat-runner/docs/supporter-guides/oracles.md b/docs/src/content/hardhat-runner/docs/supporter-guides/oracles.md index 8a8213214d..4209148faa 100644 --- a/docs/src/content/hardhat-runner/docs/supporter-guides/oracles.md +++ b/docs/src/content/hardhat-runner/docs/supporter-guides/oracles.md @@ -210,7 +210,7 @@ main().catch((error) => { }); ``` -Finnaly, run the deployment script by typing: +Finally, run the deployment script by typing: ```sh npx hardhat run scripts/deploy.ts --network goerli diff --git a/packages/hardhat-web3-v4/README.md b/packages/hardhat-web3-v4/README.md index 8000c9443a..9ad10964bc 100644 --- a/packages/hardhat-web3-v4/README.md +++ b/packages/hardhat-web3-v4/README.md @@ -25,7 +25,7 @@ require("@nomicfoundation/hardhat-web3-v4"); Or, if you are using TypeScript, add this to your `hardhat.config.ts`: ```js -import "@nomifoundation/hardhat-web3-v4"; +import "@nomicfoundation/hardhat-web3-v4"; ``` By default, contract invocations will not be typesafe. Consider installing [@chainsafe/hardhat-ts-artifact-plugin](https://www.npmjs.com/package/@chainsafe/hardhat-ts-artifact-plugin) to obtain available contract methods and events. Read more about inferring types [here](https://docs.web3js.org/guides/smart_contracts/infer_contract_types_guide/).