WIP: Lightweight version of ark-circom (#41)

* remove ethers-core

* test

* return ethereum and add a feature

* lint fixes

---------

Co-authored-by: s1fr0 <28568419+s1fr0@users.noreply.github.com>
Co-authored-by: tyshkor <tyshko1@gmail.com>
This commit is contained in:
tyshko-rostyslav
2023-02-11 03:32:52 +01:00
committed by GitHub
parent e226f90591
commit 5a1b78b320
5 changed files with 484 additions and 354 deletions

View File

@@ -313,8 +313,7 @@ mod runtime {
// NOTE: We can also get more information why it is failing, see p2str etc here:
// https://github.com/iden3/circom_runtime/blob/master/js/witness_calculator.js#L52-L64
println!(
"runtime error, exiting early: {0} {1} {2} {3} {4} {5}",
a, b, c, d, e, f
"runtime error, exiting early: {a} {b} {c} {d} {e} {f}",
);
Err(RuntimeError::user(Box::new(ExitCode(1))))
}