From 57c3c6ff6b680aa8b4145ed6255711b6d369f527 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Wed, 14 Aug 2024 18:05:13 +0100 Subject: [PATCH] Removed temporary matomo tracking for zk --- apps/remix-ide/src/app/files/fileManager.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/remix-ide/src/app/files/fileManager.ts b/apps/remix-ide/src/app/files/fileManager.ts index b069eb6e61..920501a866 100644 --- a/apps/remix-ide/src/app/files/fileManager.ts +++ b/apps/remix-ide/src/app/files/fileManager.ts @@ -40,7 +40,6 @@ const errorMsg = { const createError = (err) => { return new Error(`${errorMsg[err.code]} ${err.message || ''}`) } -const _paq = (window._paq = window._paq || []) class FileManager extends Plugin { mode: string openedFiles: any @@ -216,11 +215,6 @@ class FileManager extends Plugin { } else { const ret = await this.setFileContent(path, data, options) this.emit('fileAdded', path) - // Temporary solution to tracking scripts execution for zk in matomo - if (path === 'scripts/groth16/zk/keys/zkey_final.txt' && data) _paq.push(['trackEvent', 'circuit-compiler', 'script', 'groth16', 'zk trusted setup done']) - if (path === 'scripts/groth16/zk/build/zk_verifier.sol' && data) _paq.push(['trackEvent', 'circuit-compiler', 'script', 'groth16', 'zk proof done']) - if (path === 'scripts/plonk/zk/keys/zkey_final.txt' && data) _paq.push(['trackEvent', 'circuit-compiler', 'script', 'plonk', 'zk trusted setup done']) - if (path === 'scripts/plonk/zk/build/zk_verifier.sol' && data) _paq.push(['trackEvent', 'circuit-compiler', 'script', 'plonk', 'zk proof done']) return ret } } catch (e) {