Comments (2)
Closing this issue because it is not related to this module. If you are having problems on it, please check the input parameter key names. Especially if you are using matrices, please check this PR iden3/circom#59
from snarkjs.
I investigated it more in detail and it seems the array input is causing the problem.
Works well
// circuit.circom
template Test() {
signal private input a;
}
component main = Test()
// input.json
{
"a": 1
}
Doesn't work
// circuit.circom
template Test() {
signal private input a[1];
}
component main = Test()
// input.json
{
"a[0]": 1
}
from snarkjs.
Related Issues (20)
- Adding TON smart contract generator HOT 1
- Cannot read properties of undefined (reading 'fullProve') HOT 2
- If non-linear constraints = 0 ,Error: Scalar size does not match HOT 1
- Error when running snarkjs groth16 setup: ENOENT: no such file or directory, open 'proving_key.json' HOT 1
- Which MPC protocol are you using for ZKPs?
- Is it safe to use the pre-generated ptau files in this repo? HOT 1
- Some out-of-range proof values pass the verification
- Receiving "Proof commitments are not valid" when verifying simple groth16 circuit HOT 1
- snarkjs pot contribute with same file as input and ouput causes issue
- Using BLS12-381 curve to generate groth16 solidity verifier results in out of range error in solidity HOT 1
- RangeError: Too many elements passed to Promise.all HOT 2
- The javascript prover and verifier will succeed when using public inputs > field prime
- Zkeys fail to be verified right after generations with custom R1CS and witness HOT 1
- How to call `soliditycalldata` in ethereum smart contract runtime? HOT 1
- Proof valiadation not working with cirtcuit that works fine with circom tester HOT 1
- snarkjs.groth16.verify is not working if pubSignals is empty
- snarkjs.groth16.fullProve run locally fine but doesn't run correctly on cloud
- Where is generate_witness.json๏ผ HOT 1
- Generating just a witness in browser HOT 2
- is there a cpp implementation of trusted setup? js runs too slow for my circuits
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snarkjs.