Skip to content

Commit f91f8cc

Browse files
committed
refac: Remove debug statements
1 parent 0bb00e2 commit f91f8cc

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

rust/lit-node/lit-node-testnet/src/validator.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,6 @@ impl ValidatorCollection {
839839
.call()
840840
.await
841841
.unwrap_or_else(|_e| vec![]);
842-
info!("!@#kicked: {:?}", kicked);
843842

844843
let ports = self
845844
.actions
@@ -849,7 +848,6 @@ impl ValidatorCollection {
849848
.filter(|f| !kicked.contains(&f.node_address))
850849
.map(|v| v.port as usize)
851850
.collect::<Vec<usize>>();
852-
info!("!@#ports: {:?}", ports);
853851

854852
let mut nodes_for_epoch: Vec<String> = self
855853
.get_active_validators_with_realm_id(realm)
@@ -860,7 +858,6 @@ impl ValidatorCollection {
860858
.map(|v| v.socket_address())
861859
.collect();
862860
let nodes_for_epoch2 = nodes_for_epoch.clone();
863-
info!("!@#nodes_for_epoch2: {:?}", nodes_for_epoch2);
864861

865862
let threshold = self
866863
.actions
@@ -870,7 +867,6 @@ impl ValidatorCollection {
870867
.await
871868
.unwrap()
872869
.as_usize();
873-
info!("!@#threshold: {:?}", threshold);
874870

875871
let epoch = self.actions().get_current_epoch(realm_id).await.as_u64();
876872
// this was using ports.len()
@@ -900,8 +896,8 @@ impl ValidatorCollection {
900896
node_set.push(random_node_set);
901897
}
902898

903-
info!(
904-
"!@#All nodes / online nodes (epoch {}): {} / {} and threshold: {}, and nodeset (l:{}): {:?}",
899+
debug!(
900+
"All nodes / online nodes (epoch {}): {} / {} and threshold: {}, and nodeset (l:{}): {:?}",
905901
epoch,
906902
self.validators.len(),
907903
nodes_for_epoch2.len(),

rust/lit-node/lit-node/tests/integration/lit_actions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ pub mod litactions {
386386
// currently designed to handle just a single siganture.
387387
let mut shares = vec![];
388388
for resp in execute_resp {
389-
info!("!@#resp: {:?}", resp);
389+
info!("resp: {:?}", resp);
390390
assert!(resp.ok);
391391
let data = resp.data.as_ref().unwrap();
392392
info!("json_object: {:?}", data);

0 commit comments

Comments
 (0)