add pretty print on g16 proof generation
This commit is contained in:
parent
1fc679a140
commit
730369048c
2 changed files with 8 additions and 1 deletions
|
@ -105,7 +105,7 @@ impl ProofSystem for G16 {
|
|||
base64::encode(&raw),
|
||||
);
|
||||
|
||||
format!("{:#}", serde_json::to_string(&g16_proof).unwrap())
|
||||
format!("{}", serde_json::to_string_pretty(&g16_proof).unwrap())
|
||||
}
|
||||
|
||||
fn export_solidity_verifier(&self, vk: String, abi_v2: bool) -> String {
|
||||
|
|
7
zokrates_js/Cargo.lock
generated
7
zokrates_js/Cargo.lock
generated
|
@ -46,6 +46,11 @@ dependencies = [
|
|||
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "base64"
|
||||
version = "0.11.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "bellman_ce"
|
||||
version = "0.3.1"
|
||||
|
@ -942,6 +947,7 @@ version = "0.1.0"
|
|||
name = "zokrates_core"
|
||||
version = "0.4.2"
|
||||
dependencies = [
|
||||
"base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bellman_ce 0.3.1 (git+https://github.com/matter-labs/bellman?rev=9e35737)",
|
||||
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"csv 1.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -1031,6 +1037,7 @@ dependencies = [
|
|||
"checksum autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
|
||||
"checksum backtrace 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)" = "e4036b9bf40f3cf16aba72a3d65e8a520fc4bafcdc7079aea8f848c58c5b5536"
|
||||
"checksum backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491"
|
||||
"checksum base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7"
|
||||
"checksum bellman_ce 0.3.1 (git+https://github.com/matter-labs/bellman?rev=9e35737)" = "<none>"
|
||||
"checksum bellman_ce 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "938ec0feff00f9dfda0e7cbfe8db8b717966a84f6a12e63ed0943c4a90d6a5de"
|
||||
"checksum bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e103c8b299b28a9c6990458b7013dc4a8356a9b854c51b9883241f5866fac36e"
|
||||
|
|
Loading…
Reference in a new issue