Fix linting

pull/4164/head
ioedeveloper 1 year ago
parent ba264b7636
commit 8c7115c18f
  1. 2
      libs/remix-ws-templates/src/templates/semaphore/scripts/run_setup.ts
  2. 5
      libs/remix-ws-templates/src/templates/semaphore/scripts/run_verification.ts

@ -1,6 +1,6 @@
import { ethers, BigNumber } from 'ethers'
// @ts-ignore
// eslint-disable-next-line @typescript-eslint/no-var-requires
const snarkjs = require('snarkjs');
const logger = {

@ -1,7 +1,8 @@
import { ethers, BigNumber } from 'ethers'
import { IncrementalMerkleTree } from "@zk-kit/incremental-merkle-tree"
import { poseidon } from "circomlibjs" // v0.0.8
// @ts-ignore
// eslint-disable-next-line @typescript-eslint/no-var-requires
const snarkjs = require('snarkjs');
const logger = {
@ -27,7 +28,7 @@ function hash(message: any): bigint {
const r1csBuffer = await remix.call('fileManager', 'readFile', 'circuits/.bin/semaphore.r1cs', true);
// @ts-ignore
const r1cs = new Uint8Array(r1csBuffer);
// @ts-ignore
// @ts-ignore
const wasmBuffer = await remix.call('fileManager', 'readFile', 'circuits/.bin/semaphore.wasm', true);
// @ts-ignore
const wasm = new Uint8Array(wasmBuffer);

Loading…
Cancel
Save