You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
11
11
This repo is meant to be a starting point for writing Aztec contracts and tests on the Aztec sandbox (local development environment).
12
12
13
-
You can find the **Easy Private Voting contract** in `./src/main.nr`. A simple integration test is in `./src/test/index.test.ts`.
13
+
You can find the **Easy Private Voting contract** in `./src/main.nr`. A simple integration test is in `./src/test/e2e/index.test.ts`.
14
14
15
15
The corresponding tutorial can be found in the [Aztec docs here](https://docs.aztec.network/developers/tutorials/codealong/contract_tutorials/private_voting_contract).
16
16
@@ -121,7 +121,7 @@ Then test with:
121
121
yarn test
122
122
```
123
123
124
-
Testing will run the **TypeScript tests** defined in `index.test.ts` inside `./src/test`, as well as the [Aztec Testing eXecution Environment (TXE)](https://docs.aztec.network/developers/guides/smart_contracts/testing) tests defined in [`first.nr`](./src/test/first.nr) (imported in the contract file with `mod test;`).
124
+
Testing will run the **TypeScript tests** defined in `index.test.ts` inside `./src/test/e2e`, as well as the [Aztec Testing eXecution Environment (TXE)](https://docs.aztec.network/developers/guides/smart_contracts/testing) tests defined in [`first.nr`](./src/test/first.nr) (imported in the contract file with `mod test;`).
125
125
126
126
Note: The Typescript tests spawn an instance of the sandbox to test against, and close it once the TS tests are complete.
127
127
@@ -131,8 +131,8 @@ Note: The Typescript tests spawn an instance of the sandbox to test against, and
131
131
132
132
You can find a handful of scripts in the `./scripts` folder.
133
133
134
-
-`./scripts/deploy-accounts.ts` is an example of how to deploy a schnorr account.
135
-
-`./scripts/deploy.ts` is an example of how to deploy a contract.
134
+
-`./scripts/deploy_account.ts` is an example of how to deploy a schnorr account.
135
+
-`./scripts/deploy_contract.ts` is an example of how to deploy a contract.
136
136
-`./scripts/fees.ts` is an example of how to pay for a contract deployment using various fee payment methods.
137
137
-`./scripts/multiple_pxe.ts` is an example of how to deploy a contract from one PXE instance and interact with it from another.
138
138
-`./scripts/profile_deploy.ts` shows how to profile a transaction and print the results.
0 commit comments