Skip to content

Commit 5c5d652

Browse files
Merge pull request #2566 from o1-labs/leon/cspell
chore: cspell dictionary and spelling mistakes
2 parents 00fea5b + 89814f7 commit 5c5d652

File tree

16 files changed

+294
-36
lines changed

16 files changed

+294
-36
lines changed

.config/cspell.json

Lines changed: 266 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,284 @@
22
// Version of the setting file. Always 0.2
33
"version": "0.2",
44
// language - current active spelling language
5-
"language": "en",
5+
"language": "en, lorem, lorem-ipsum",
66
// words - list of words to be always considered correct
77
"words": [
8+
"abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
9+
"ABCDEFGHJKLMNPQRSTUVWXY",
10+
"accs",
811
"ACMRT",
12+
"adic",
13+
"adicity",
14+
"aggreg",
15+
"Alph",
16+
"Aminus",
17+
"Analysable",
18+
"Approvable",
19+
"arithmetization",
20+
"Babybear",
21+
"backendless",
22+
"behaviour",
23+
"behaviours",
24+
"bigints",
25+
"bigstring",
26+
"Bijective",
27+
"Binable",
28+
"binaryen",
29+
"bindgen",
30+
"bitlength",
31+
"BLABLA",
32+
"blakejs",
33+
"blsp",
34+
"brainpool",
35+
"cachedir",
36+
"callforest",
37+
"caml",
38+
"Cfgs",
39+
"Chal",
40+
"chals",
41+
"coeff",
42+
"coeffs",
43+
"Cofactor",
44+
"Coinbases",
45+
"combinators",
46+
"Comdex",
47+
"consectetuer",
48+
"conv",
49+
"CPPFLAGS",
50+
"ctypes",
51+
"descr",
52+
"devnet",
53+
"devshell",
54+
"direnv",
55+
"disattach",
56+
"divmod",
57+
"Dlog",
58+
"doccomments",
59+
"docstrings",
60+
"dont",
61+
"dxdy",
62+
"dynlink",
63+
"eddsa",
64+
"Eeuo",
65+
"Eeuxo",
66+
"efgh",
67+
"egcd",
68+
"Elems",
69+
"elgamal",
70+
"Elts",
71+
"emul",
72+
"endline",
73+
"Endo",
74+
"endomul",
75+
"endoscalar",
76+
"Endoscale",
77+
"envrc",
78+
"eqsign",
79+
"erdigo",
80+
"errorf",
81+
"esbuild",
82+
"Evals",
83+
"failwith",
84+
"failwithf",
85+
"feepayer",
86+
"feepayers",
87+
"ffadd",
88+
"ffffn",
89+
"ffmul",
90+
"fieldvar",
91+
"fieldy",
92+
"fileset",
93+
"Flagsfrom",
94+
"foldl",
95+
"formedness",
96+
"Freeable",
97+
"Fseqp",
98+
"gitmodules",
99+
"gretke's",
100+
"hardfork",
101+
"Hlist",
102+
"homomorphic",
103+
"Impls",
104+
"importmap",
105+
"incircuit",
106+
"Incrementer",
107+
"influxdata",
108+
"Initia",
109+
"initialroot",
110+
"intf",
111+
"Intfs",
9112
"Iseconds",
113+
"iteri",
114+
"jslib",
115+
"jsoo",
116+
"jsstring",
117+
"jstat",
118+
"keccak",
119+
"Keypair",
120+
"kmax",
121+
"LDFLAGS",
122+
"LEFTSHIFT",
123+
"lessthan",
124+
"libiconv",
125+
"libsodium",
126+
"liconv",
127+
"Lightnet",
128+
"lincom",
129+
"linkall",
130+
"loglog",
131+
"LuffySama",
132+
"maht",
133+
"marekyggdrasil",
134+
"MAXINT",
135+
"Merkle",
136+
"Merkleization",
137+
"Merkleized",
10138
"merkletree",
139+
"merklewitness",
140+
"mgmt",
141+
"minaprotocol",
142+
"minascan",
143+
"modul",
144+
"Muls",
145+
"Nexts",
11146
"nixbuild",
147+
"nixfmt",
148+
"nixos",
149+
"nixpkgs",
150+
"noautolink",
151+
"Ntest",
152+
"nullglob",
153+
"numtide",
154+
"ocamlc",
155+
"offchain",
156+
"opam",
157+
"Optdef",
158+
"optimise",
159+
"optimised",
160+
"optin",
161+
"otherdata",
162+
"otherstrin",
12163
"Oxlint",
164+
"paramtypes",
165+
"permissioned",
166+
"Permuts",
167+
"pkgs",
168+
"plonkish",
169+
"pname",
170+
"popd",
171+
"Pornin",
172+
"potenti",
173+
"pplusonedivfour",
174+
"Prechallenges",
175+
"preimage",
176+
"Prevs",
177+
"primality",
178+
"Profier",
179+
"progn",
180+
"provables",
181+
"pushd",
182+
"remanants",
183+
"repr",
184+
"reraise",
185+
"reraised",
186+
"revspec",
187+
"RIGHTSHIFT",
188+
"rimraf",
189+
"rnew",
190+
"rngs",
191+
"rotr",
192+
"rpanic",
193+
"rustc",
194+
"RUSTDIR",
195+
"rustlib",
196+
"rustup",
197+
"Rminus",
198+
"SBOX",
199+
"Schnorr",
200+
"Schönhage",
201+
"secp",
202+
"secq",
203+
"seqp",
204+
"sexp",
205+
"sexplib",
206+
"shellcheck",
207+
"Shigoto",
13208
"sideloaded",
14-
"sideloading",
209+
"signz",
210+
"snarked",
211+
"snarking",
212+
"snew",
213+
"sprintf",
214+
"stdenv",
15215
"stefanzweifel",
216+
"Strassen",
217+
"studentt",
218+
"submethod",
219+
"substituters",
220+
"sumchain",
221+
"summands",
222+
"svgs",
16223
"tarides",
17-
"rimraf",
18-
"jsoo",
19-
"Eeuo",
20-
"caml",
21-
"esbuild"
224+
"TJSON",
225+
"tmpcache",
226+
"Tock",
227+
"Tokenomics",
228+
"Tonelli",
229+
"toplevel",
230+
"totient",
231+
"TRIV",
232+
"tweakable",
233+
"twoadic",
234+
"twoadicity",
235+
"underconstraint",
236+
"underflowed",
237+
"underflows",
238+
"unew",
239+
"uints",
240+
"untar",
241+
"unhash",
242+
"unhashing",
243+
"unintuitively",
244+
"unpackaging",
245+
"unreconstructable",
246+
"Unshifted",
247+
"Vanstone",
248+
"Varbase",
249+
"varfields",
250+
"verifys",
251+
"vnew",
252+
"wasnt",
253+
"wbindgen",
254+
"Weierstraß",
255+
"wizicer",
256+
"xffff",
257+
"xored",
258+
"Xtoken",
259+
"yinv",
260+
"yojson",
261+
"Zabcdefghijkmnopqrstuvwxyz",
262+
"zarith",
263+
"zinv",
264+
"Zkapp",
265+
"zkapps",
266+
"zkfunction",
267+
"zkprogram",
268+
"zkprograms",
269+
"zksecurity's"
22270
],
23271
// flagWords - list of words to be always considered incorrect
24272
// This is useful for offensive words and common spelling errors.
25273
// For example "hte" should be "the"
26-
"flagWords": []
274+
"flagWords": [],
275+
"ignorePaths": [
276+
"_build/",
277+
"dist/",
278+
"node_modules/",
279+
"src/mina/",
280+
"src/bindings/compiled/",
281+
"src/bindings/crypto/constants.ts"
282+
],
283+
"ignoreRandomStrings": true,
284+
"allowCompoundWords": true
27285
}

.github/workflows/pull_requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
file_pattern: "npmDepsHash"
5252

5353

54-
Lint-Format-and-TypoCheck:
54+
Lint-Format-and-Typo-Check:
5555
if: github.event.pull_request.labels.*.name != 'skip-lint'
5656
runs-on: ubuntu-latest
5757

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This project adheres to
3939
- Fixed a verification key regression that was caused by incorrectly enabling a
4040
proof system feature that wasn't needed.
4141
https://github.com/o1-labs/o1js/pull/2449
42-
- Fixed an edge case where not all the artefacts needed for the cache were
42+
- Fixed an edge case where not all the artifacts needed for the cache were
4343
stored properly, resulting in them being re-computed after loading the cache.
4444
https://github.com/o1-labs/o1js/pull/2460
4545

@@ -58,7 +58,7 @@ This project adheres to
5858

5959
### Fixed
6060

61-
- Fixed a performance regression that occured when proving circuits.
61+
- Fixed a performance regression that occurred when proving circuits.
6262
https://github.com/o1-labs/o1js/pull/2388
6363

6464
## [2.8.0](https://github.com/o1-labs/o1js/compare/045b1ab...70bca22) - 2025-08-01

README-nix.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ help with this.
122122
123123
Nix has a garbage collector that **is not used by default** after every run.
124124
Instead, artifacts get accumulated in your disk unless configured otherwise.
125-
This is why we recomend `auto-optimise-store = true` (you will be prompted to
125+
This is why we recommend `auto-optimise-store = true` (you will be prompted to
126126
accept this). You can also run `nix-store --optimize` retroactively.
127127
128128
If you still need to free up space you can run `nix-store --gc`, unfortunately
129-
this can slow down futurue nix builds by forcing you to rebuild dependencies.
129+
this can slow down future nix builds by forcing you to rebuild dependencies.
130130
This can be mitigated with [direnv](https://github.com/direnv/direnv) and
131131
[nix-direnv](https://github.com/nix-community/nix-direnv) which can create
132132
garbage collector roots, keeping one gc-root to the latest build of the dev
@@ -143,7 +143,7 @@ reject these the first time you use nix in this repo. You can also use
143143
`max-jobs = auto` For some reason the default is `1`.
144144
145145
`auto-optimize-store = true;` When building slightly different versions of the
146-
same repo your nix store can fill up with coppies of the same files. This saves
146+
same repo your nix store can fill up with copies of the same files. This saves
147147
space by replacing them with symlinks.
148148
149149
`substituters = ...` `trusted-public-keys = ...` These make sure you are using
@@ -212,21 +212,21 @@ The rust compiler and/or Wasm-pack might not be correctly setup in the Nix
212212
shell.
213213
214214
```console
215-
Error: wasm32-unknown-unknown target not found in sysroot: "/nix/store/w30zw23kmgks77d870i502a3185hjycv-rust"
215+
Error: wasm32-unknown-unknown target not found in sysroot: "/nix/store/<sha>-rust"
216216
217-
Used rustc from the following path: "/nix/store/wcm8caqd6g7bcbddpyxan1jzj3apkmxy-rustup-1.26.0/bin/rustc"
217+
Used rustc from the following path: "/nix/store/<sha>-rustup-1.26.0/bin/rustc"
218218
It looks like Rustup is not being used. For non-Rustup setups, the wasm32-unknown-unknown target needs to be installed manually. See https://rustwasm.github.io/wasm-pack/book/prerequisites/non-rustup-setups.html on how to do this.
219219
220-
Caused by: wasm32-unknown-unknown target not found in sysroot: "/nix/store/w30zw23kmgks77d870i502a3185hjycv-rust"
220+
Caused by: wasm32-unknown-unknown target not found in sysroot: "/nix/store/<sha>-rust"
221221
```
222222
223223
#### Fix
224224
225225
This is caused because the Rust compiler in Nix does not have access to the
226226
corresponding `wasm32-unknown-unknown` target. Let `{RUSTDIR}` be the directory
227227
of the Rust location inside Nix, as shown in the error code; e.g.
228-
`/nix/store/wcm8caqd6g7bcbddpyxan1jzj3apkmxy-rustup-1.26.0/bin`, then you can
229-
check the version of the compiler used by typing:
228+
`/nix/store/<sha>-rustup-1.26.0/bin`, then you can check the version of the
229+
compiler used by typing:
230230
231231
```bash
232232
{RUSTDIR}/rustc --version
@@ -269,8 +269,8 @@ Finally, the `wasm32-unknown-unknown` folder must be moved into the
269269
`./lib/rustlib/` directory in the sysroot like so:
270270
271271
Let `{SYSROOT}` be the directory of the Rust in Nix shown in the error code;
272-
e.g. `/nix/store/w30zw23kmgks77d870i502a3185hjycv-rust`, then the Wasm target
273-
can be automatically installed downloading it from
272+
e.g. `/nix/store/<sha>-rust`, then the Wasm target can be automatically
273+
installed downloading it from
274274
275275
```bash
276276
mv rust-std-1.82.0-wasm32-unknown-unknown/rust-std-wasm32-unknown-unknown/lib/rustlib/wasm32-unknown-unknown {SYSROOT}/lib/rustlib/wasm32-unknown-unknown/
@@ -279,7 +279,7 @@ mv rust-std-1.82.0-wasm32-unknown-unknown/rust-std-wasm32-unknown-unknown/lib/ru
279279
### Cargo not found
280280
281281
```console
282-
error: "/nix/store/w30zw23kmgks77d870i502a3185hjycv-rust/lib/rustlib/src/rust/Cargo.lock"
282+
error: "/nix/store/<sha>-rust/lib/rustlib/src/rust/Cargo.lock"
283283
does not exist, unable to build with the standard library, try:
284284
rustup component add rust-src --toolchain nix
285285
```

scripts/lib/ux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ success() {
7272
printf "\033[1;32m%s%s\033[0m\n" "$SCRIPT_PREFIX" "$*"
7373
}
7474

75-
# runs a command with a prefixed outut
75+
# runs a command with a prefixed output
7676
run_with_prefix() {
7777
if should_show_commands; then
7878
"$@" 2>&1 | while IFS= read -r line; do

0 commit comments

Comments
 (0)