diff --git a/apps/circuit-compiler/src/app/components/witness.tsx b/apps/circuit-compiler/src/app/components/witness.tsx
index 6ef3b08ec4..0a14537cde 100644
--- a/apps/circuit-compiler/src/app/components/witness.tsx
+++ b/apps/circuit-compiler/src/app/components/witness.tsx
@@ -34,34 +34,32 @@ export function WitnessSection ({ plugin, signalInputs, status }: {plugin: Circo
}
return (
-
-
-
0}>
- <>
- {
- signalInputs.map((input, index) => (
-
-
-
-
- ))
- }
-
- >
-
-
+
)
}
\ No newline at end of file
diff --git a/apps/circuit-compiler/src/app/reducers/state.ts b/apps/circuit-compiler/src/app/reducers/state.ts
index 26a56f09f5..74aa682aca 100644
--- a/apps/circuit-compiler/src/app/reducers/state.ts
+++ b/apps/circuit-compiler/src/app/reducers/state.ts
@@ -14,6 +14,7 @@ export const appInitialState: AppState = {
compilerFeedback: null,
computeFeedback: null,
setupExportFeedback: null,
+ setupExportStatus: null,
provingScheme: 'groth16',
ptauList: [
{
@@ -142,6 +143,12 @@ export const appReducer = (state = appInitialState, action: Actions): AppState =
exportVerificationKey: action.payload
}
+ case 'SET_SETUP_EXPORT_STATUS':
+ return {
+ ...state,
+ setupExportStatus: action.payload
+ }
+
default:
throw new Error()
}
diff --git a/apps/circuit-compiler/src/app/types/index.ts b/apps/circuit-compiler/src/app/types/index.ts
index 6c5b1644a7..d1977aac07 100644
--- a/apps/circuit-compiler/src/app/types/index.ts
+++ b/apps/circuit-compiler/src/app/types/index.ts
@@ -6,6 +6,8 @@ export type CompilerStatus = "compiling" | "computing" | "idle" | "errored" | "w
export type ProvingScheme = 'groth16' | 'plonk'
+export type SetupExportStatus = 'done' | 'update'
+
export type PtauFile = {
name: string,
power: number,
@@ -36,7 +38,8 @@ export interface ActionPayloadTypes {
// SET_RANDOM_TEXT: string,
// SET_RANDOM_BEACON: string
SET_EXPORT_VERIFICATION_CONTRACT: boolean,
- SET_EXPORT_VERIFICATION_KEY: boolean
+ SET_EXPORT_VERIFICATION_KEY: boolean,
+ SET_SETUP_EXPORT_STATUS: SetupExportStatus
}
export interface Action
{
type: T
@@ -58,6 +61,7 @@ export interface AppState {
compilerFeedback: string | CompilerReport[],
computeFeedback: string | CompilerReport[],
setupExportFeedback: string | CompilerReport[],
+ setupExportStatus: SetupExportStatus,
provingScheme: ProvingScheme,
ptauList: Array,
ptauValue: string,