From 8a765ca6662019114d87f8d716b02789e97ec48d Mon Sep 17 00:00:00 2001 From: chloefeal <188809157+chloefeal@users.noreply.github.com> Date: Sat, 28 Dec 2024 12:25:26 +0800 Subject: [PATCH] fix: typos --- e2e/fixture-projects/vars/test.sh | 2 +- .../hardhat-core/src/internal/core/config/config-loading.ts | 2 +- packages/hardhat-verify/src/internal/tasks/sourcify.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/fixture-projects/vars/test.sh b/e2e/fixture-projects/vars/test.sh index 54839f10d1..5dde250937 100755 --- a/e2e/fixture-projects/vars/test.sh +++ b/e2e/fixture-projects/vars/test.sh @@ -11,7 +11,7 @@ echo "Running tests: $(basename "$(pwd)")" echo "it should print an error saying that the configuration variables are not set" run_test_and_handle_failure "npx hardhat" 1 -echo "it should list the configuartion variables that need to be set" +echo "it should list the configuration variables that need to be set" run_test_and_handle_failure "npx hardhat vars setup" 0 echo "it should list the keys without failing (even if there are no keys)" diff --git a/packages/hardhat-core/src/internal/core/config/config-loading.ts b/packages/hardhat-core/src/internal/core/config/config-loading.ts index e17967faa4..2851cda6db 100644 --- a/packages/hardhat-core/src/internal/core/config/config-loading.ts +++ b/packages/hardhat-core/src/internal/core/config/config-loading.ts @@ -168,7 +168,7 @@ function deepFreezeUserConfig( * Receives an Error and checks if it's a MODULE_NOT_FOUND and the reason that * caused it. * - * If it can infer the reason, it throws an appropiate error. Otherwise it does + * If it can infer the reason, it throws an appropriate error. Otherwise it does * nothing. */ export function analyzeModuleNotFoundError(error: any, configPath: string) { diff --git a/packages/hardhat-verify/src/internal/tasks/sourcify.ts b/packages/hardhat-verify/src/internal/tasks/sourcify.ts index 03facb6061..3407d662f3 100644 --- a/packages/hardhat-verify/src/internal/tasks/sourcify.ts +++ b/packages/hardhat-verify/src/internal/tasks/sourcify.ts @@ -217,7 +217,7 @@ ${contractURL} return { success: response.isSuccess(), - message: "Contract successfuly verified on Sourcify", + message: "Contract successfully verified on Sourcify", }; } );