Skip to content

Commit 2077c92

Browse files
ioedeveloperAniket-Engg
authored andcommitted
Undo ecdsa changes
1 parent 677ca54 commit 2077c92

File tree

28 files changed

+4
-2568
lines changed

28 files changed

+4
-2568
lines changed

apps/remix-ide/src/app/editor/editor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ class Editor extends Plugin {
208208
const paths = path.split('/')
209209
paths.pop()
210210
const fromPath = paths.join('/') // get current execution context path
211-
for (const match of content.matchAll(/import\s+(?:(?:\{[^{}]*\}|[^'";]+)\s+from\s+)?['"](@[\w-]+\/[\w-]+)['"];?/g)) {
212-
let pathDep = match[1]
211+
for (const match of content.matchAll(/import\s+.*\s+from\s+(?:"(.*?)"|'(.*?)')/g)) {
212+
let pathDep = match[2]
213213
if (pathDep.startsWith('./') || pathDep.startsWith('../')) pathDep = resolve(fromPath, pathDep)
214214
if (pathDep.startsWith('/')) pathDep = pathDep.substring(1)
215215
if (!pathDep.endsWith('.ts')) pathDep = pathDep + '.ts'

apps/remix-ide/src/app/tabs/locales/en/filePanel.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
"filePanel.semaphore": "Semaphore",
113113
"filePanel.hashchecker": "Hash Checker",
114114
"filePanel.rln": "Rate-Limiting Nullifier",
115-
"filePanel.ecdsa": "ECDSA (Elliptic Curve Digital Signature Algorithm)",
116115
"filePanel.breakthroughLabsUniswapv4Hooks": "Breakthrough-Labs Hooks",
117116
"filePanel.uniswapV4Periphery": "v4 Periphery",
118117
"filePanel.uniswapV4HookBookMultiSigSwapHook": "HookBook MultiSigSwapHook",

libs/remix-ui/workspace/src/lib/actions/workspace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export const createWorkspace = async (
204204
const isActive = await plugin.call('manager', 'isActive', 'dgit')
205205
if (!isActive) await plugin.call('manager', 'activatePlugin', 'dgit')
206206
}
207-
if (workspaceTemplateName === 'semaphore' || workspaceTemplateName === 'hashchecker' || workspaceTemplateName === 'rln' || workspaceTemplateName === 'ecdsa') {
207+
if (workspaceTemplateName === 'semaphore' || workspaceTemplateName === 'hashchecker' || workspaceTemplateName === 'rln') {
208208
const isCircomActive = await plugin.call('manager', 'isActive', 'circuit-compiler')
209209
if (!isCircomActive) await plugin.call('manager', 'activatePlugin', 'circuit-compiler')
210210
}

libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,6 @@ export function Workspace() {
784784
<option style={{fontSize: 'small'}} value="rln">
785785
{intl.formatMessage({id: 'filePanel.rln'})}
786786
</option>
787-
<option style={{fontSize: 'small'}} value="ecdsa">
788-
{intl.formatMessage({id: 'filePanel.ecdsa'})}
789-
</option>
790787
</optgroup>
791788
<optgroup style={{fontSize: 'medium'}} label="Uniswap V4">
792789
<option style={{fontSize: 'small'}} value="uniswapV4Periphery">

libs/remix-ui/workspace/src/lib/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface JSONStandardInput {
1919
}
2020
}
2121
export type MenuItems = action[]
22-
export type WorkspaceTemplate = 'gist-template' | 'code-template' | 'remixDefault' | 'blank' | 'ozerc20' | 'zeroxErc20' | 'ozerc721' | 'playground' | 'semaphore' | 'hashchecker' | 'rln' | 'breakthroughLabsUniswapv4Hooks' | 'uniswapV4Periphery' | 'uniswapV4HookBookMultiSigSwapHook' | 'ecdsa'
22+
export type WorkspaceTemplate = 'gist-template' | 'code-template' | 'remixDefault' | 'blank' | 'ozerc20' | 'zeroxErc20' | 'ozerc721' | 'playground' | 'semaphore' | 'hashchecker' | 'rln' | 'breakthroughLabsUniswapv4Hooks' | 'uniswapV4Periphery' | 'uniswapV4HookBookMultiSigSwapHook'
2323
export interface WorkspaceProps {
2424
plugin: FilePanelType
2525
}

libs/remix-ui/workspace/src/lib/utils/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ export const TEMPLATE_NAMES = {
8989
'breakthroughLabsUniswapv4Hooks': 'Breakthrough-Labs Uniswapv4Hooks',
9090
'uniswapV4Periphery': 'Uniswap v4 Periphery',
9191
'uniswapV4HookBookMultiSigSwapHook': 'Uniswap V4 HookBook MultiSigSwapHook',
92-
'ecdsa': 'spartan-ecdsa'
9392
}
9493

9594
export const TEMPLATE_METADATA: Record<string, TemplateType> = {

libs/remix-ws-templates/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export { default as playground } from './templates/playground'
99
export { default as semaphore } from './templates/semaphore'
1010
export { default as hashchecker } from './templates/hashchecker'
1111
export { default as rln } from './templates/rln'
12-
export { default as ecdsa } from './templates/ecdsa'
1312

1413
export { contractDeployerScripts } from './script-templates/contract-deployer'
1514
export { etherscanScripts } from './script-templates/etherscan'

libs/remix-ws-templates/src/templates/ecdsa/README.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

libs/remix-ws-templates/src/templates/ecdsa/circuits/eff_ecdsa_membership/addr_membership.circom

Lines changed: 0 additions & 57 deletions
This file was deleted.

libs/remix-ws-templates/src/templates/ecdsa/circuits/eff_ecdsa_membership/eff_ecdsa.circom

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)