Skip to content

Commit

Permalink
Fix typos and improve documentation clarity (#5985)
Browse files Browse the repository at this point in the history
* Update README.md

* Update oracles.md

* Update reference.md
  • Loading branch information
Madmaxs2 authored Dec 2, 2024
1 parent 0ea1fd5 commit 4be0eec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/content/hardhat-chai-matchers/docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-web3-v4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down

0 comments on commit 4be0eec

Please sign in to comment.