From 727c9fc36191f8d077134b54eb4c86bec45ed5ea Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:45:16 +0800 Subject: [PATCH] docs: fix typos (#6704) Signed-off-by: vuittont60 <81072379+vuittont60@users.noreply.github.com> Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com> --- docs/docs/guides/smart_contracts/infer_contract_types.md | 2 +- docs/docs/guides/web3_providers_guide/websocket.md | 2 +- packages/web3/test/e2e/get_balance.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/guides/smart_contracts/infer_contract_types.md b/docs/docs/guides/smart_contracts/infer_contract_types.md index 8dcd006e2e4..e070f19b1b8 100644 --- a/docs/docs/guides/smart_contracts/infer_contract_types.md +++ b/docs/docs/guides/smart_contracts/infer_contract_types.md @@ -66,7 +66,7 @@ import path from 'path'; //read destination directory submitted as first param var destination = process.argv.slice(2)[0]; -//read all contract artifacts from artifacts.json which should be in the directoy from where script should be executed +//read all contract artifacts from artifacts.json which should be in the directory from where script should be executed const artifactContent = fs.readFileSync('./artifacts.json', 'utf-8'); const artifacts: string[] = JSON.parse(artifactContent); diff --git a/docs/docs/guides/web3_providers_guide/websocket.md b/docs/docs/guides/web3_providers_guide/websocket.md index 0f732b29be1..5fd95c4e8cf 100644 --- a/docs/docs/guides/web3_providers_guide/websocket.md +++ b/docs/docs/guides/web3_providers_guide/websocket.md @@ -32,7 +32,7 @@ WebSocket Provider allows us to communicate with the Ethereum node via WebSocket Follow these steps to connect to the Ethereum network using WebSocket provider: :::tip -The first 3 steps are the same as in the pervious section. So, you may skip them if you already executed the previous section. +The first 3 steps are the same as in the previous section. So, you may skip them if you already executed the previous section. ::: 1. Open a command prompt or terminal window and navigate to where you would like to create the folder for this example. diff --git a/packages/web3/test/e2e/get_balance.test.ts b/packages/web3/test/e2e/get_balance.test.ts index f1f658faa8c..fd676bf262c 100644 --- a/packages/web3/test/e2e/get_balance.test.ts +++ b/packages/web3/test/e2e/get_balance.test.ts @@ -73,7 +73,7 @@ describe(`${getSystemTestBackend()} tests - getBalance`, () => { switch (format) { case 'NUMBER_HEX': /** - * @NOTE toHex assumes if a string is passed it's a hexidecimal + * @NOTE toHex assumes if a string is passed it's a hexadecimal * which is why the number string, expectedBalance, is being * converted to a BigInt */