Skip to content

Commit

Permalink
Fix typos in documentation for using Viem and formatting instructions (
Browse files Browse the repository at this point in the history
…#6011)

* typos using-viem.md

* typos formatting.md
  • Loading branch information
Dimitrolito authored Dec 3, 2024
1 parent cf6b9a3 commit c20bf19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ await myToken.write.increaseSupply();
// TS Error: Property 'setSupply' does not exist on type...
const tokenPrice = await myToken.write.setSupply([5000000n]);

// The first argument of the constructor arguments is expected to be an bigint
// The first argument of the constructor arguments is expected to be a bigint
// TS Error: No overload matches this call.
const myToken2 = await hre.viem.deployContract("MyToken", ["1000000"]);
```
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/hardhat-vscode/docs/formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ If you currently have other solidity extensions installed, or have had previousl

To set Hardhat for Visual Studio Code as your default formatter for solidity files:

1. Within a Solidity file run the _Format Document With_ command, either through the Command Palette, or by right clicking and selecting through the context menu:
1. Within a Solidity file run the _Format Document With_ command, either through the Command Palette, or by right-clicking and selecting through the context menu:

![Format Document With](/hardhat-vscode-images/format_document_with.png "Format Document With")

Expand Down

0 comments on commit c20bf19

Please sign in to comment.