Reduce logging from instrument (#1671)

* Reduce logging from instrument

* FMT
pull/1676/head
Mattie Conover 2 years ago committed by GitHub
parent 027a51d680
commit 84224b98be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      rust/chains/hyperlane-ethereum/src/mailbox.rs
  2. 2
      rust/chains/hyperlane-fuel/src/mailbox.rs

@ -86,7 +86,7 @@ impl<M> Indexer for EthereumMailboxIndexer<M>
where
M: Middleware + 'static,
{
#[instrument(err, ret, skip(self))]
#[instrument(level = "debug", err, ret, skip(self))]
async fn get_finalized_block_number(&self) -> ChainResult<u32> {
Ok(self
.provider
@ -231,7 +231,7 @@ impl<M> Mailbox for EthereumMailbox<M>
where
M: Middleware + 'static,
{
#[instrument(err, ret, skip(self))]
#[instrument(level = "debug", err, ret, skip(self))]
async fn count(&self) -> ChainResult<u32> {
Ok(self.contract.count().call().await?)
}

@ -60,7 +60,7 @@ impl Debug for FuelMailbox {
#[async_trait]
impl Mailbox for FuelMailbox {
#[instrument(err, ret, skip(self))]
#[instrument(level = "debug", err, ret, skip(self))]
async fn count(&self) -> ChainResult<u32> {
self.contract
.methods()

Loading…
Cancel
Save