From a07f1f9fb1aab64ebaf26b943b3690ab4d07c2b5 Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Fri, 27 Dec 2024 16:13:17 +0100 Subject: [PATCH] fix: update broken links and correct typos in documentation (#6074) * update broken link deploying-to-a-live-network.md * typos errors.ts * typos etherscan.ts * update etherscan.ts --- docs/src/content/tutorial/deploying-to-a-live-network.md | 2 +- packages/hardhat-core/test/helpers/errors.ts | 4 ++-- packages/hardhat-verify/test/unit/etherscan.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/content/tutorial/deploying-to-a-live-network.md b/docs/src/content/tutorial/deploying-to-a-live-network.md index 436f641db3..f089270cfa 100644 --- a/docs/src/content/tutorial/deploying-to-a-live-network.md +++ b/docs/src/content/tutorial/deploying-to-a-live-network.md @@ -138,7 +138,7 @@ To deploy on Sepolia you need to send some Sepolia ether to the address that's g - [Alchemy Sepolia Faucet](https://sepoliafaucet.com/) - [Coinbase Sepolia Faucet](https://coinbase.com/faucets/ethereum-sepolia-faucet) (only works if you are using the Coinbase Wallet) - [Infura Sepolia Faucet](https://www.infura.io/faucet/sepolia) -- [Chainstack Sepolia Faucet](https://faucet.chainstack.com/sepolia-faucet) +- [Chainstack Sepolia Faucet](https://faucet.chainstack.com/sepolia-testnet-faucet) - [QuickNode Sepolia Faucet](https://faucet.quicknode.com/ethereum/sepolia) You'll have to change your wallet's network to Sepolia before transacting. diff --git a/packages/hardhat-core/test/helpers/errors.ts b/packages/hardhat-core/test/helpers/errors.ts index e3400d8a39..f5214e31b0 100644 --- a/packages/hardhat-core/test/helpers/errors.ts +++ b/packages/hardhat-core/test/helpers/errors.ts @@ -61,7 +61,7 @@ export function expectHardhatError( assert.notMatch( error.message, /%[a-zA-Z][a-zA-Z0-9]*%/, - "HardhatError has an non-replaced variable tag" + "HardhatError has a non-replaced variable tag" ); if (typeof errorMessage === "string") { @@ -113,7 +113,7 @@ export async function expectHardhatErrorAsync( assert.notMatch( err.message, /%[a-zA-Z][a-zA-Z0-9]*%/, - "HardhatError has an non-replaced variable tag" + "HardhatError has a non-replaced variable tag" ); if (errorMessage !== undefined) { diff --git a/packages/hardhat-verify/test/unit/etherscan.ts b/packages/hardhat-verify/test/unit/etherscan.ts index d1198e54c8..3f5de75015 100644 --- a/packages/hardhat-verify/test/unit/etherscan.ts +++ b/packages/hardhat-verify/test/unit/etherscan.ts @@ -99,7 +99,7 @@ describe("Etherscan", () => { assert.equal(currentChainConfig.chainId, 5); }); - it("should throw if the selected network is hardhat and it's not a added to custom chains", async () => { + it("should throw if the selected network is hardhat and it's not added to custom chains", async () => { const networkName = "hardhat"; const ethereumProvider = { async send() {