|
|
@@ -53,7 +53,7 @@ impl Builder {
|
|
|
debug!(target: "example_contract::foo::wallet::Builder", "input_proof Proof::create()");
|
|
|
let proving_key = &zk_info.proving_key;
|
|
|
let input_proof = Proof::create(proving_key, &[circuit], &public_inputs, &mut OsRng)
|
|
|
- .expect("EXAMPLE::foo() proving error!)");
|
|
|
+ .expect("Example::foo() proving error!)");
|
|
|
proofs.push(input_proof);
|
|
|
|
|
|
let header = Header { public_c: c };
|
|
|
@@ -61,8 +61,8 @@ impl Builder {
|
|
|
let call_data = CallData { header };
|
|
|
|
|
|
FuncCall {
|
|
|
- contract_id: "EXAMPLE".to_string(),
|
|
|
- func_id: "EXAMPLE::foo()".to_string(),
|
|
|
+ contract_id: "Example".to_string(),
|
|
|
+ func_id: "Example::foo()".to_string(),
|
|
|
call_data: Box::new(call_data),
|
|
|
proofs,
|
|
|
}
|