Skip to content

Commit

Permalink
docs: fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: vuittont60 <[email protected]>
  • Loading branch information
vuittont60 committed Jan 9, 2024
1 parent cc7ff1f commit fe66034
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/docs/guides/smart_contracts/infer_contract_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/guides/web3_providers_guide/websocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/web3/test/e2e/get_balance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit fe66034

Please sign in to comment.