Skip to content

adding tests for public signal tampering #213

adding tests for public signal tampering

adding tests for public signal tampering #213

name: Circuit Unit Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
circuit-unit-tests:
runs-on: ubuntu-latest
steps:
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install circom
uses: supplypike/setup-bin@v4
with:
uri: https://github.com/iden3/circom/releases/download/v2.1.9/circom-linux-amd64
name: circom
version: 2.1.9
- name: Checkout circuits
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install circuit dependencies
working-directory: zkp/circuits
run: |
npm install
- name: Run circuit unit tests
working-directory: zkp/js
run: |
npm install
npm t