|
|
|
@ -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?) |
|
|
|
|
} |
|
|
|
|