mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
test/arithmetic_proof: add simplelog and set to Debug
This commit is contained in:
@@ -13,8 +13,13 @@ use darkfi::{
|
||||
use pasta_curves::pallas;
|
||||
use rand::rngs::OsRng;
|
||||
|
||||
use simplelog::{ColorChoice, Config, LevelFilter, TermLogger, TerminalMode};
|
||||
|
||||
#[test]
|
||||
fn arithmetic_proof() -> Result<()> {
|
||||
TermLogger::init(LevelFilter::Debug, Config::default(), TerminalMode::Mixed, ColorChoice::Auto)
|
||||
.unwrap();
|
||||
|
||||
/* ANCHOR: main */
|
||||
let bincode = include_bytes!("../proof/arithmetic.zk.bin");
|
||||
let zkbin = ZkBinary::decode(bincode)?;
|
||||
|
||||
Reference in New Issue
Block a user