From d390641c8dcf964e077cb515904ed018a043a036 Mon Sep 17 00:00:00 2001 From: Evan Sangaline Date: Wed, 14 Feb 2024 15:33:46 -0600 Subject: [PATCH] Add a note about only supporting Circom. --- libs/remix-ws-templates/src/script-templates/sindri/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/remix-ws-templates/src/script-templates/sindri/index.ts b/libs/remix-ws-templates/src/script-templates/sindri/index.ts index a15f1c3438..c6d0f64420 100644 --- a/libs/remix-ws-templates/src/script-templates/sindri/index.ts +++ b/libs/remix-ws-templates/src/script-templates/sindri/index.ts @@ -19,7 +19,7 @@ const getWorkspaceFilesByPath = async (plugin: any, pathRegex: RegExp | null = n } export const sindriScripts = async (plugin: any) => { - // Load in all of the Sindri or Circom-related files in the workspace. + // Load in all of the Sindri or circuit-related files in the workspace. const existingFilesByPath = await getWorkspaceFilesByPath(plugin, /sindri|\.circom$/i) const writeIfNotExists = async (path: string, content: string) => { if (!(path in existingFilesByPath)) { @@ -42,6 +42,9 @@ export const sindriScripts = async (plugin: any) => { // @ts-ignore const sindriManifest = (await import('./sindri.json')).default + // TODO: We can try to infer the circuit framework here from the project contents. + // For now, we only support Circom. + // Infer manifest properties from the existing files in the workspace. switch (sindriManifest.circuitType) { case 'circom':