Skip to content

Commit 5b1f2e3

Browse files
author
AztecBot
committed
Merge branch 'next' into merge-train/docs
2 parents 2f3d821 + af308c1 commit 5b1f2e3

File tree

2 files changed

+16
-24
lines changed

2 files changed

+16
-24
lines changed

docs/developer_versioned_docs/version-v3.0.0-devnet.20251212/getting_started_on_local_network.md

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ Run:
4646
bash -i <(curl -s https://install.aztec.network)
4747
```
4848

49+
Once the installation is complete, install the specific version:
50+
51+
```bash
52+
aztec-up 3.0.0-devnet.20251212
53+
```
54+
4955
This will install the following tools:
5056

5157
- **aztec** - compiles and tests aztec contracts and launches various infrastructure subsystems (full local network, sequencer, prover, pxe, etc) and provides utility commands to interact with the network
@@ -84,26 +90,6 @@ You'll know the local network is ready to go when you see something like this:
8490
[INFO] Aztec Server listening on port 8080
8591
```
8692
87-
### Codespaces
88-
89-
If you do not want to run the local network locally, or if your machine is unsupported (eg Windows), it is possible to run it within a GitHub Codespace.
90-
91-
[GitHub Codespaces](https://github.com/features/codespaces) are a quick way to develop: they provision a remote machine with all tooling you need for Aztec in just a few minutes. You can use some prebuilt images to make it easier and faster.
92-
93-
Choose a boilerplate and click "create new codespace":
94-
95-
[![One-Click React Starter](/img/codespaces_badges/react_cta_badge.svg)](https://codespaces.new/AztecProtocol/aztec-packages?devcontainer_path=.devcontainer%2Freact%2Fdevcontainer.json) [![One-Click HTML/TS Starter](/img/codespaces_badges/vanilla_cta_badge.svg)](https://codespaces.new/AztecProtocol/aztec-packages?devcontainer_path=.devcontainer%2Fvanilla%2Fdevcontainer.json) [![One-Click Token Starter](/img/codespaces_badges/token_cta_badge.svg)](https://codespaces.new/AztecProtocol/aztec-packages?devcontainer_path=.devcontainer%2Ftoken%2Fdevcontainer.json)
96-
97-
This creates a codespace with a prebuilt image containing one of the "Aztec Boxes" and a development network (local network).
98-
- You can develop directly on the codespace, push it to a repo, make yourself at home.
99-
- You can also just use the local network that comes with it. The URL will be logged, you just need to use it as your `PXE_URL`.
100-
101-
You can then start, stop, or see the logs of your local network just by calling `local-network` or `npx aztec-app local-network`. Run `local-network -h` for a list of commands.
102-
103-
Codespaces are way more powerful than you may initially think. For example, you can connect your local `vscode` to a remote codespace, for a fully contained development environment that doesn't use any of your computer resources!
104-
105-
Visit the [codespaces documentation](https://docs.github.com/en/codespaces/overview) for more specific documentation around codespaces.
106-
10793
## Using the local network test accounts
10894
10995
import { CLI_Add_Test_Accounts } from '@site/src/components/Snippets/general_snippets';
@@ -121,12 +107,18 @@ We'll use the first test account, `test0`, throughout to pay for transactions.
121107
## Creating an account in the local network
122108
123109
```bash
124-
aztec-wallet create-account -a my-wallet --payment method=fee_juice,feePayer=test0
110+
aztec-wallet create-account -a my-wallet -f test0
125111
```
126112
113+
:::info
114+
`aztec-wallet` will generate transaction proofs by default. This is not required when sending transactions on the local network, but it is required when sending transactions on the devnet or mainnet.
115+
116+
You can turn off proof generation by adding the `--prover none` flag to the command or setting `PXE_PROVER=none`.
117+
:::
118+
127119
This will create a new wallet with an account and give it the alias `my-wallet`. Accounts can be referenced with `accounts:<alias>`. You will see logs telling you the address, public key, secret key, and more.
128120
129-
On successful depoyment of the account, you should see something like this:
121+
On successful deployment of the account, you should see something like this:
130122
131123
```bash
132124
New account:
@@ -231,7 +223,7 @@ Simulation result: 100n
231223
232224
## Playing with hybrid state and private functions
233225
234-
In the following steps, we'll moving some tokens from public to private state, and check our private and public balance.
226+
In the following steps, we'll move some tokens from public to private state and check our private and public balance.
235227
236228
```bash
237229
aztec-wallet send transfer_to_private --from accounts:test0 --contract-address testtoken --args accounts:test0 25

yarn-project/p2p/src/services/tx_provider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ describe('TxProvider', () => {
203203
// Check instrumentation calls
204204
expect(incTxsFromMempoolSpy).toHaveBeenCalledWith(5);
205205
expect(incTxsFromProposalsSpy).toHaveBeenCalledWith(1);
206-
expect(incTxsFromP2PSpy).toHaveBeenCalledWith(2);
206+
expect(incTxsFromP2PSpy).toHaveBeenCalledWith(2, 10);
207207
expect(incMissingTxsSpy).toHaveBeenCalledWith(2);
208208
});
209209

0 commit comments

Comments
 (0)