-
Notifications
You must be signed in to change notification settings - Fork 97
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 use other library in rust code #146
Comments
Can show start it with RUST_BACKTRACE=1 and show the output? |
The code of using k256 may changed,I don't get the same result I start the code of hash with RUST_BACKTRACE=1 and the output is here panicked when single-prove
|
what is the dry-run output? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to compile rust code and convert it to wasm file with wasm-pack.Everything is ok when running simple calculations in rust code.
But when I try to use an ecdsa library k256 in my code, an error will be reported
thread 'main' panicked at 'failed to load wasm: Validation("Unknown opcode 192")', /home/Project/zkWasm/src/cli/app_builder.rs:75:67 note: run with
RUST_BACKTRACE=1environment variable to display a backtrace
When I try to do the following hash operation in the rust code, an error will be reported when doing single-prove
` let string = "Hello, World!";
`
thread 'main' panicked at 'proof generation should not fail: ConstraintSystemFailure', /home/.cargo/git/checkouts/halo2aggregator-s-4591bb34d62c1163/2db5888/src/circuits/utils.rs:191:14 note: run with
RUST_BACKTRACE=1environment variable to display a backtrace
How can I use other library in rust code?
The text was updated successfully, but these errors were encountered: