-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to push_input
for a 3d array input?
#34
Comments
push_input
for a 3d array inputpush_input
for a 3d array input?
I have a similar question, but for an array input. In my circuit, In
The error encountered is:
The error is easy to understand because
So how do we pass array inputs to circom circuits via rust? |
@gakonst Please help us with it. |
Doing it this way doesn't work as well:
|
Hey - I hadn't figured out how to make this work when I was working on this. It's currently not supported, and I don't have bandwidth to figure this out unfortunately. |
@gakonst Hi, thank you for your response. Lol, I'll guess a funny workaround will be to split the input array into individual signals and |
@jymchng Are you working on this issue? |
I think that if you try to push different BigInt values one by one into the same signal, it should work. Push_input seems to append values to the vector. Try something as follows: builder.push_input("digits", ToBigInt::to_bigint(&1).unwrap() ); |
No description provided.
The text was updated successfully, but these errors were encountered: