From 18a3205ea73c2e6682024f67a1f79b61bf86137b Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Fri, 18 Oct 2024 20:10:13 +0300 Subject: [PATCH] Update hardhat-events-sbs.md (#1078) Incorrect: "harhdat" Correct: "hardhat" "Harhdat" is a misspelling of "hardhat," which refers to the Hardhat development environment for Ethereum smart contracts. The error appears to be a typographical mistake, where the letters are incorrectly ordered. Co-authored-by: Brendan from DeFi --- apps/base-docs/base-learn/docs/events/hardhat-events-sbs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base-docs/base-learn/docs/events/hardhat-events-sbs.md b/apps/base-docs/base-learn/docs/events/hardhat-events-sbs.md index 9f0f797..e045dbf 100644 --- a/apps/base-docs/base-learn/docs/events/hardhat-events-sbs.md +++ b/apps/base-docs/base-learn/docs/events/hardhat-events-sbs.md @@ -144,7 +144,7 @@ describe("Lock tests", function () { Notice that the previous code is logging the sender address and the logs coming from the transaction receipt. You are also decoding the `receipts.logs[0].data` field that contains the information emitted by the event but not in a human-readable way, since it is encoded. For that reason, you can use `AbiCoder` to decode the raw data. -By running `npx harhdat test`, you should be able to see the following: +By running `npx hardhat test`, you should be able to see the following: ```solidity Lock tests