Skip to content

Commit 120bd7a

Browse files
authored
Fix compile cache (#52)
1 parent 86f97e8 commit 120bd7a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solarity/hardhat-zkit",
3-
"version": "0.4.12",
3+
"version": "0.4.13",
44
"description": "The ultimate TypeScript environment for Circom development",
55
"main": "dist/src/index.js",
66
"types": "dist/src/index.d.ts",

src/cache/schemas/compile-schemas.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ export const PragmaComponentSchema = z.object({
2020
});
2121

2222
export const InputDataSchema = z.object({
23-
dimension: z.string().array(),
23+
dimension: z.number().array(),
2424
type: z.string(),
2525
});
2626

2727
export const TemplateSchema = z.object({
28-
inputs: z.record(z.string(), InputDataSchema),
2928
parameters: z.string().array(),
3029
isCustom: z.boolean(),
30+
parallel: z.boolean(),
3131
});
3232

3333
export const TemplatesSchema = z.record(z.string(), TemplateSchema);
@@ -47,7 +47,7 @@ export const ParsedCircomFileDataSchema = z.object({
4747

4848
export const SignalInfoSchema = z.object({
4949
name: z.string(),
50-
dimension: z.string().array(),
50+
dimension: z.number().array(),
5151
type: SignalTypeSchema,
5252
visibility: VisibilityTypeSchema,
5353
});

0 commit comments

Comments
 (0)