mirror of
https://github.com/social-tw/social-tw-website.git
synced 2026-01-09 15:38:09 -05:00
@@ -1,7 +1,7 @@
|
||||
//@ts-ignore
|
||||
import { genEpochKey } from '@unirep/utils'
|
||||
import { expect } from 'chai'
|
||||
import { ethers } from 'hardhat'
|
||||
import { expect } from 'chai'
|
||||
import { genEpochKey } from '@unirep/utils'
|
||||
import { describe } from 'node:test'
|
||||
import { deployApp } from '../scripts/utils/deployUnirepSocialTw'
|
||||
import { Unirep, UnirepApp } from '../typechain-types'
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
genReportNullifierCircuitInput,
|
||||
} from './utils'
|
||||
|
||||
describe('Verifier Helper Test', function () {
|
||||
describe('Verifier Helper Manager Test', function () {
|
||||
let unirep: Unirep
|
||||
let app: UnirepApp
|
||||
let reportNonNullifierVHelper: any
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//@ts-ignore
|
||||
import { genEpochKey } from '@unirep/utils'
|
||||
import { expect } from 'chai'
|
||||
import { ethers } from 'hardhat'
|
||||
import { expect } from 'chai'
|
||||
import { genEpochKey } from '@unirep/utils'
|
||||
import { describe } from 'node:test'
|
||||
import { deployApp } from '../scripts/utils/deployUnirepSocialTw'
|
||||
import { Unirep, UnirepApp } from '../typechain-types'
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
genReportNullifierCircuitInput,
|
||||
} from './utils'
|
||||
|
||||
describe('Verifier Test', function () {
|
||||
describe('Verifier Helper Manager Test', function () {
|
||||
let unirep: Unirep
|
||||
let app: UnirepApp
|
||||
let reportNonNullifierVerifier
|
||||
|
||||
@@ -80,7 +80,7 @@ describe('CheckReputation', function () {
|
||||
revealNonce: 0,
|
||||
})
|
||||
|
||||
const { publicSignals, proof } = await genProofAndVerify(
|
||||
const { isValid, publicSignals, proof } = await genProofAndVerify(
|
||||
Circuit.reputation,
|
||||
circuitInputs
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user