Set latest_checkpoint instrumentation to debug level (#1785)

pull/1787/head
Nam Chu Hoai 2 years ago committed by GitHub
parent 4b7e7ca9bb
commit 7b87e4a5de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      rust/chains/hyperlane-ethereum/src/mailbox.rs

@ -249,7 +249,7 @@ where
Ok(self.contract.delivered(id.into()).call().await?) Ok(self.contract.delivered(id.into()).call().await?)
} }
#[instrument(err, ret, skip(self))] #[instrument(level = "debug", err, ret, skip(self))]
async fn latest_checkpoint(&self, maybe_lag: Option<NonZeroU64>) -> ChainResult<Checkpoint> { async fn latest_checkpoint(&self, maybe_lag: Option<NonZeroU64>) -> ChainResult<Checkpoint> {
let base_call = self.contract.latest_checkpoint(); let base_call = self.contract.latest_checkpoint();
let call_with_lag = match maybe_lag { let call_with_lag = match maybe_lag {

Loading…
Cancel
Save