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
BEGIN_COMMIT_OVERRIDE
docs: fix avm docs - l2 gas is not the same as mana (#20565)
docs: simulator readme typos (#19701)
fix(avm): alu gadget fuzzer serialisation (#19115)
END_COMMIT_OVERRIDE
Copy file name to clipboardExpand all lines: yarn-project/simulator/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ It's able to simulate three different types of functions:
12
12
13
13
Private functions are simulated and proved client-side, and verified client-side in the private kernel circuit.
14
14
15
-
The public inputs of private functions is defined [here](../stdlib/src/structs/private_circuit_public_inputs.ts).
15
+
The public inputs of private functions are defined [here](../stdlib/src/structs/private_circuit_public_inputs.ts).
16
16
17
17
They are run with the assistance of a DB oracle that provides any private data requested by the function.
18
18
@@ -22,17 +22,17 @@ Private functions can call another private function, and can request to call a p
22
22
23
23
Public functions are simulated and proved on the sequencer side, and verified by the public kernel circuit.
24
24
25
-
The public inputs of public functions is defined [here](../stdlib/src/structs/avm/avm_circuit_public_inputs.ts).
25
+
The public inputs of public functions are defined [here](../stdlib/src/structs/avm/avm_circuit_public_inputs.ts).
26
26
27
27
They are run with the assistance of an oracle that provides any value read from the public state tree.
28
28
29
-
Public functions can call other public function, but no private functions.
29
+
Public functions can call other public functions, but cannot call private functions.
30
30
31
31
See the specifications of the [Aztec Virtual Machine (AVM) for public execution](./docs/avm/index.md).
32
32
33
33
### Unconstrained Functions
34
34
35
-
Unconstrained functions are useful to extract useful data for users that could produce very large execution traces - such as the summed balance of all a users notes
35
+
Unconstrained functions are useful to extract data for users that could produce very large execution traces - such as the summed balance of all of a user's notes.
36
36
They are not proved, and are simulated client-side.
37
37
38
38
They are run with the assistance of a DB oracle that provides any private data requested by the function.
Copy file name to clipboardExpand all lines: yarn-project/simulator/docs/avm/gas.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# Gas Metering
2
2
3
-
The AVM tracks gas consumption across two dimensions: **L2 gas** (execution costs, also called **mana**) and **DA gas** (data availability costs).
3
+
The AVM tracks gas consumption across two dimensions: **L2 gas** (execution costs) and **DA gas** (data availability costs). Note that L2 gas is _not_ the same as mana: mana is the higher-level unit of account that incorporates L2 gas, DA gas, and L1 gas costs together.
4
4
5
5
## Gas Dimensions
6
6
7
-
***L2 Gas** (mana): roughly represents the computational cost of executing (and especially proving) operations.
7
+
***L2 Gas**: roughly represents the computational cost of executing (and especially proving) operations.
8
8
***DA Gas**: represents the cost of publishing data to Layer 1 for data availability. This includes:
0 commit comments