Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #1951

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/examples/crypto/foreign-field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ assert(z instanceof SmallField.Unreduced);
// note: "unreduced" doesn't usually mean that the underlying witness is larger than the modulus.
// it just means we haven't _proved_ so.. which means a malicious prover _could_ have managed to make it larger.

// unreduced fields can be added and subtracted, but not be used in multiplcation:
// unreduced fields can be added and subtracted, but not be used in multiplication:

z.add(1).sub(x).assertEquals(0); // works

Expand Down
2 changes: 1 addition & 1 deletion src/lib/mina/account-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ class AccountUpdate implements Types.AccountUpdate {
* This function acts as the `check()` method on an `AccountUpdate` that is sent to the Mina node as part of a transaction.
*
* Background: the Mina node performs most necessary validity checks on account updates, both in- and outside of circuits.
* To save constraints, we don't repeat these checks in zkApps in places where we can be sure the checked account udpates
* To save constraints, we don't repeat these checks in zkApps in places where we can be sure the checked account updates
* will be part of a transaction.
*
* However, there are a few checks skipped by the Mina node, that could cause vulnerabilities in zkApps if
Expand Down
Loading