Skip to content

Commit 633d0c2

Browse files
lint
1 parent 85d507f commit 633d0c2

File tree

4 files changed

+23
-27
lines changed

4 files changed

+23
-27
lines changed

.oxlintrc.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"extends": [
3-
"oxlint/recommended"
4-
],
2+
"extends": ["oxlint/recommended"],
53
"rules": {
64
"erasing-op": "off",
75
"no-new-array": "off",
@@ -23,4 +21,4 @@
2321
"src/mina/",
2422
"**/*.d.ts"
2523
]
26-
}
24+
}

src/lib/.oxlintrc.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"extends": [
3-
"oxlint/recommended"
4-
],
2+
"extends": ["oxlint/recommended"],
53
"rules": {
64
"erasing-op": "off",
75
"no-new-array": "off",
@@ -11,4 +9,4 @@
119
"no-useless-escape": "off",
1210
"no-wrapper-object-types": "off"
1311
}
14-
}
12+
}

src/lib/proof-system/lazy-mode.unit-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ function runSubprocess(lazyMode: boolean): Promise<void> {
7777
child.on('exit', (code) => {
7878
console.log(`(Parent) Process lazyMode=${lazyMode} exited with code ${code}`);
7979
if (code === 0) {
80-
resolve()
80+
resolve();
8181
} else {
82-
reject(new Error(`Test failed for lazyMode=${lazyMode}`))
82+
reject(new Error(`Test failed for lazyMode=${lazyMode}`));
8383
}
8484
});
8585
});

src/lib/proof-system/recursive.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@ function Recursive<
3434
}>;
3535
}
3636
): {
37-
[Key in keyof PrivateInputs]: RecursiveProver<
37+
[Key in keyof PrivateInputs]: RecursiveProver<
38+
InferProvable<PublicInputType>,
39+
PublicInputType,
40+
InferProvable<PublicOutputType>,
41+
PrivateInputs[Key]
42+
> & {
43+
if: ConditionalRecursiveProver<
3844
InferProvable<PublicInputType>,
3945
PublicInputType,
4046
InferProvable<PublicOutputType>,
4147
PrivateInputs[Key]
42-
> & {
43-
if: ConditionalRecursiveProver<
44-
InferProvable<PublicInputType>,
45-
PublicInputType,
46-
InferProvable<PublicOutputType>,
47-
PrivateInputs[Key]
48-
>;
49-
};
50-
} {
48+
>;
49+
};
50+
} {
5151
type PublicInput = InferProvable<PublicInputType>;
5252
type PublicOutput = InferProvable<PublicOutputType>;
5353
type MethodKey = keyof PrivateInputs;
@@ -175,14 +175,14 @@ type ConditionalRecursiveProver<
175175
Args extends Tuple<ProvableType>,
176176
> = PublicInput extends undefined
177177
? (
178-
condition: Bool | { condition: Bool; domainLog2?: number },
179-
...args: TupleFrom<Args>
180-
) => Promise<PublicOutput>
178+
condition: Bool | { condition: Bool; domainLog2?: number },
179+
...args: TupleFrom<Args>
180+
) => Promise<PublicOutput>
181181
: (
182-
condition: Bool | { condition: Bool; domainLog2?: number },
183-
publicInput: From<PublicInputType>,
184-
...args: TupleFrom<Args>
185-
) => Promise<PublicOutput>;
182+
condition: Bool | { condition: Bool; domainLog2?: number },
183+
publicInput: From<PublicInputType>,
184+
...args: TupleFrom<Args>
185+
) => Promise<PublicOutput>;
186186

187187
type TupleFrom<T> = {
188188
[I in keyof T]: From<T[I]>;

0 commit comments

Comments
 (0)