Skip to content

Commit

Permalink
revert to debug the other logs
Browse files Browse the repository at this point in the history
  • Loading branch information
b-yap committed Jul 11, 2024
1 parent dc9dc3b commit e51eb0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions clients/vault/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use jsonrpc_core_client::RpcError;
use parity_scale_codec::Error as CodecError;
use sp_std::str::Utf8Error;
use thiserror::Error;
Expand All @@ -22,8 +21,6 @@ pub enum Error {
#[error("Faucet url not set")]
FaucetUrlNotSet,

#[error("RPC error: {0}")]
RpcError(#[from] RpcError),
#[error("RuntimeError: {0}")]
RuntimeError(#[from] RuntimeError),
#[error("CodecError: {0}")]
Expand Down
4 changes: 2 additions & 2 deletions clients/vault/src/oracle/collector/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ impl ScpMessageCollector {
value.push(scp_envelope);
envelopes_map.insert(slot, value);
} else {
tracing::info!("Collecting SCPEnvelopes for slot {slot}: success");
tracing::debug!("Collecting SCPEnvelopes for slot {slot}: success");
tracing::trace!(
"Collecting SCPEnvelopes for slot {slot}: the scp envelope: {}",
to_base64_xdr_string(&scp_envelope.statement)
Expand All @@ -167,7 +167,7 @@ impl ScpMessageCollector {
pub(super) fn save_txset_hash_and_slot(&self, txset_hash: TxSetHash, slot: Slot) {
// save the mapping of the hash of the txset and the slot.
let mut m = self.txset_and_slot_map.write();
tracing::info!("Collecting TxSet for slot {slot}: saving a map of txset_hash...");
tracing::debug!("Collecting TxSet for slot {slot}: saving a map of txset_hash...");
tracing::trace!(
"Collecting TxSet for slot {slot}: the txset_hash: {}",
hex::encode(&txset_hash)
Expand Down
2 changes: 1 addition & 1 deletion clients/vault/src/oracle/collector/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl ScpMessageCollector {

// we are only interested with `ScpStExternalize`. Other messages are ignored.
if let ScpStatementPledges::ScpStExternalize(stmt) = &env.statement.pledges {
tracing::info!(
tracing::debug!(
"Handling Incoming ScpEnvelopes for slot {slot}: SCPStExternalize found: {}",
to_base64_xdr_string(stmt)
);
Expand Down

0 comments on commit e51eb0c

Please sign in to comment.