Skip to content

Commit

Permalink
Log the implicit vp in query-protocol-parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Nov 22, 2024
1 parent e138dd3 commit 15df9d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/apps_lib/src/client/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,12 @@ pub async fn query_protocol_parameters(
masp_epoch_multiplier
);

let key = param_storage::get_implicit_vp_key();
let implicit_vp: Hash = query_storage_value(context.client(), &key)
.await
.expect("Parameter should be defined.");
display_line!(context.io(), "{:4}Implicit VP: {}", "", implicit_vp);

let key = param_storage::get_vp_allowlist_storage_key();
let vp_allowlist: Vec<String> = query_storage_value(context.client(), &key)
.await
Expand Down

0 comments on commit 15df9d1

Please sign in to comment.