Skip to content

Commit

Permalink
Merge pull request #360 from detrina/main
Browse files Browse the repository at this point in the history
Update declarations.md
  • Loading branch information
bitwalker authored Dec 18, 2024
2 parents 0dd4501 + 9451b3e commit 5c1ab1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/description/declarations.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ In the above example, the main execution trace for the AIR has 6 columns with 4

A `public_inputs` section contains declarations for public inputs. Currently, each public input must be provided as a vector of a fixed size, but there is no limit to how many of them can be declared within the `public_inputs` section.

**Public inputs are required.** There must be at least one pubic input declared.
**Public inputs are required.** There must be at least one public input declared.

Each public input is described by an identifier and an array length (`n`) in the following format:

Expand Down Expand Up @@ -109,4 +109,4 @@ random_values:
rand: [a, b, c[2]]
```

In the above example, `rand` is a random value array of length `4` and `a` and `b` are individual random value bindings and `c` is a binding referring to a group of 2 random values. In this case, random values can be accessed similarly (e.g. `$rand[2]`) or using named bindings (e.g. `a` or `c[0]`). Here, `$rand[2]` and `c[0]` refer to the same random value.
In the above example, `rand` is a random value array of length `4` and `a` and `b` are individual random value bindings and `c` is a binding referring to a group of 2 random values. In this case, random values can be accessed similarly (e.g. `$rand[2]`) or using named bindings (e.g. `a` or `c[0]`). Here, `$rand[2]` and `c[0]` refer to the same random value.

0 comments on commit 5c1ab1a

Please sign in to comment.