diff --git a/docs/src/content/hardhat-runner/docs/advanced/using-viem.md b/docs/src/content/hardhat-runner/docs/advanced/using-viem.md index 95a3938002..3633f0f67f 100644 --- a/docs/src/content/hardhat-runner/docs/advanced/using-viem.md +++ b/docs/src/content/hardhat-runner/docs/advanced/using-viem.md @@ -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"]); ``` diff --git a/docs/src/content/hardhat-vscode/docs/formatting.md b/docs/src/content/hardhat-vscode/docs/formatting.md index b8870f8555..3673dc45ae 100644 --- a/docs/src/content/hardhat-vscode/docs/formatting.md +++ b/docs/src/content/hardhat-vscode/docs/formatting.md @@ -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")