From dcc927c9aa347cd305cecd260cfedfb5cda0454f Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Mon, 11 Sep 2023 12:06:45 -0300 Subject: [PATCH] docs: Minor fixes to dapp tutorial (#2203) Addresses comments by @PhilWindle on the dapp tutorial in https://github.com/AztecProtocol/aztec-packages/pull/2109. Damn auto-merge. --- docs/docs/dev_docs/dapps/tutorials/contract_interaction.md | 2 +- docs/docs/dev_docs/dapps/tutorials/project_setup.md | 2 +- docs/docs/dev_docs/dapps/tutorials/testing.md | 2 +- docs/docs/dev_docs/getting_started/sandbox.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/dev_docs/dapps/tutorials/contract_interaction.md b/docs/docs/dev_docs/dapps/tutorials/contract_interaction.md index 108bbd69ae0..7517ea13e0c 100644 --- a/docs/docs/dev_docs/dapps/tutorials/contract_interaction.md +++ b/docs/docs/dev_docs/dapps/tutorials/contract_interaction.md @@ -71,7 +71,7 @@ Balance of 0x226f8087792beff8d5009eb94e65d2a4a505b70baf4a9f28d33c8d620b0ba972: 0 Balance of 0x0e1f60e8566e2c6d32378bdcadb7c63696e853281be798c107266b8c3a88ea9b: 0 Awaiting transaction to be mined -Transaction has been mind on block 4 +Transaction has been mined on block 4 Balance of 0x0c8a6673d7676cc80aaebe7fa7504cf51daa90ba906861bfad70a58a98bf5a7d: 99 Balance of 0x226f8087792beff8d5009eb94e65d2a4a505b70baf4a9f28d33c8d620b0ba972: 1 diff --git a/docs/docs/dev_docs/dapps/tutorials/project_setup.md b/docs/docs/dev_docs/dapps/tutorials/project_setup.md index 51560dd45a5..02cb3be2de5 100644 --- a/docs/docs/dev_docs/dapps/tutorials/project_setup.md +++ b/docs/docs/dev_docs/dapps/tutorials/project_setup.md @@ -6,7 +6,7 @@ Let's start by setting up a regular Javascript NodeJS project. Feel free to skip We'll use [`yarn`](https://yarnpkg.com/) for managing our project and dependencies, though you can also use `npm` or your Javascript package manager of choice. -1. Ensure node version is 18 or more by running. +1. Ensure node version is 18 or higher by running. ```sh node -v diff --git a/docs/docs/dev_docs/dapps/tutorials/testing.md b/docs/docs/dev_docs/dapps/tutorials/testing.md index 91eb3c74318..c364e27f93b 100644 --- a/docs/docs/dev_docs/dapps/tutorials/testing.md +++ b/docs/docs/dev_docs/dapps/tutorials/testing.md @@ -22,7 +22,7 @@ yarn add -D @aztec/aztec-sandbox Create a new file `src/index.test.mjs` with the imports we'll be using and an empty test suite to begin with: -```ts +```js import { createSandbox } from '@aztec/aztec-sandbox'; import { Contract, createAccount } from '@aztec/aztec.js'; import PrivateTokenArtifact from '../contracts/private_token/target/PrivateToken.json' assert { type: 'json' }; diff --git a/docs/docs/dev_docs/getting_started/sandbox.md b/docs/docs/dev_docs/getting_started/sandbox.md index d7000b8624e..8f2dc173a20 100644 --- a/docs/docs/dev_docs/getting_started/sandbox.md +++ b/docs/docs/dev_docs/getting_started/sandbox.md @@ -70,7 +70,7 @@ Let's create an empty project called `private-token`. If you are familiar with s Although both `yarn` and `npm` would work, this example uses `yarn`. Open the terminal and do the following -1. Ensure node version is 18 or more by running +1. Ensure node version is 18 or higher by running ```sh node -v