115 lines
3.4 KiB
JSON
115 lines
3.4 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Attach",
|
|
"port": 9229,
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "pwa-node"
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "plonk setup",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"program": "cli.js",
|
|
"args": [
|
|
"pks",
|
|
"test/plonk_circuit/circuit.r1cs",
|
|
"test/plonk_circuit/powersOfTau15_final.ptau",
|
|
"test/plonk_circuit/circuit.zkey"
|
|
]
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "plonk prove",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"program": "cli.js",
|
|
"args": [
|
|
"pkp",
|
|
"test/plonk_circuit/circuit.zkey",
|
|
"test/plonk_circuit/witness.wtns",
|
|
"test/plonk_circuit/proof.json",
|
|
"test/plonk_circuit/public.json",
|
|
"-v"
|
|
]
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "plonk export vk",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"program": "cli.js",
|
|
"args": [
|
|
"zkev",
|
|
"test/plonk_circuit/circuit.zkey",
|
|
"test/plonk_circuit/verification_key.json",
|
|
]
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "plonk verify",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"program": "cli.js",
|
|
"args": [
|
|
"pkv",
|
|
"test/plonk_circuit/verification_key.json",
|
|
"test/plonk_circuit/public.json",
|
|
"test/plonk_circuit/proof.json",
|
|
"-v"
|
|
]
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "export solidity calldata",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"program": "cli.js",
|
|
"args": [
|
|
"zkesc",
|
|
"test/plonk_circuit/public.json",
|
|
"test/plonk_circuit/proof.json",
|
|
]
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "export solidity verifier",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"program": "cli.js",
|
|
"args": [
|
|
"zkesv",
|
|
"test/plonk_circuit/circuit.zkey",
|
|
"test/plonk_circuit/verifier.sol",
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Mocha all tests",
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"cwd": "${workspaceRoot}",
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
}
|
|
]
|
|
} |