Skip to content

Commit 346479a

Browse files
Merge pull request #2584 from o1-labs/leon/develop-main
chore: develop <- main
2 parents 1a3ca07 + 2e21d42 commit 346479a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1857
-660
lines changed

.config/cspell.json

Lines changed: 266 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +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",
935
"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",
10107
"influxdata",
108+
"Initia",
109+
"initialroot",
110+
"intf",
111+
"Intfs",
112+
"Iseconds",
113+
"iteri",
114+
"jslib",
115+
"jsoo",
116+
"jsstring",
11117
"jstat",
118+
"keccak",
119+
"Keypair",
120+
"kmax",
121+
"LDFLAGS",
122+
"LEFTSHIFT",
123+
"lessthan",
124+
"libiconv",
12125
"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",
138+
"merkletree",
139+
"merklewitness",
140+
"mgmt",
141+
"minaprotocol",
142+
"minascan",
143+
"modul",
144+
"Muls",
145+
"Nexts",
13146
"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",
14163
"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",
208+
"sideloaded",
209+
"signz",
210+
"snarked",
211+
"snarking",
212+
"snew",
213+
"sprintf",
214+
"stdenv",
15215
"stefanzweifel",
16-
"tarides"
216+
"Strassen",
217+
"studentt",
218+
"submethod",
219+
"substituters",
220+
"sumchain",
221+
"summands",
222+
"svgs",
223+
"tarides",
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"
17270
],
18271
// flagWords - list of words to be always considered incorrect
19272
// This is useful for offensive words and common spelling errors.
20273
// For example "hte" should be "the"
21-
"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
22285
}

.github/actions/build/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Build o1js
22
description: 'All of the building steps for o1js'
33

4-
permissions:
5-
contents: write
6-
74
inputs:
85
proof_systems_commit:
96
description: 'proof_systems commit to use'
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release pkg-pr version
2+
description: Release a new version of o1js and mina-signer using pkg-pr-new
3+
4+
runs:
5+
using: "composite"
6+
steps:
7+
- uses: actions/checkout@v4
8+
- name: Restore repository
9+
uses: actions/cache@v4
10+
with:
11+
path: .
12+
key: repo-${{ github.sha }}
13+
- name: Setup Node.JS 20
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
- name: build
18+
uses: ./.github/actions/build
19+
- name: Build o1js and mina-signer
20+
shell: bash
21+
run: |
22+
npm ci
23+
npm run prepublish:full
24+
cd src/mina-signer
25+
npm ci
26+
npm run prepublish:full
27+
- name: Publish o1js and mina-signer on pkg-pr-new
28+
shell: bash
29+
run: npx pkg-pr-new publish ./ ./src/mina-signer
30+

.github/workflows/pull_requests.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ jobs:
1313
with:
1414
changelog: CHANGELOG.md
1515

16+
Pkg-pr-new:
17+
# Only run this job when the pull request contains the pkg‑pr‑release label.
18+
if: github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'pkg-pr-release')
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
- name: release-pkg-pr-version
24+
uses: ./.github/actions/release-pkg-pr-version
25+
1626
Check-npm-deps:
1727
name: Check npmDepsHash is correct
1828
runs-on: ubuntu-latest
@@ -41,7 +51,7 @@ jobs:
4151
file_pattern: "npmDepsHash"
4252

4353

44-
Lint-Format-and-TypoCheck:
54+
Lint-Format-and-Typo-Check:
4555
if: github.event.pull_request.labels.*.name != 'skip-lint'
4656
runs-on: ubuntu-latest
4757

@@ -91,4 +101,4 @@ jobs:
91101

92102
- name: Fail if any checks fail
93103
if: failure()
94-
run: echo "Some checks failed, failing" && exit 1
104+
run: echo "Some checks failed, failing" && exit 1

0 commit comments

Comments
 (0)