From 2526f603ff2a6fb92561b58568ed00ae7869c5ae Mon Sep 17 00:00:00 2001 From: parazyd Date: Sun, 1 May 2022 10:49:14 +0200 Subject: [PATCH] node: Add debug messages when building halo2 keys. --- src/node/client.rs | 2 ++ src/node/state.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/node/client.rs b/src/node/client.rs index 110072531..647753c44 100644 --- a/src/node/client.rs +++ b/src/node/client.rs @@ -221,10 +221,12 @@ impl Client { } fn build_mint_pk() -> ProvingKey { + debug!("Building proving key for MintContract"); ProvingKey::build(11, &MintContract::default()) } fn build_burn_pk() -> ProvingKey { + debug!("Building proving key for BurnContract"); ProvingKey::build(11, &BurnContract::default()) } } diff --git a/src/node/state.rs b/src/node/state.rs index 43cc7c15e..564ff2e29 100644 --- a/src/node/state.rs +++ b/src/node/state.rs @@ -226,9 +226,11 @@ impl ProgramState for State { } fn build_mint_vk() -> VerifyingKey { + debug!("Building verifying key for MintContract"); VerifyingKey::build(11, &MintContract::default()) } fn build_burn_vk() -> VerifyingKey { + debug!("Building verifying key for BurnContract"); VerifyingKey::build(11, &BurnContract::default()) }