Supply the revert reason in the logs (#200)

This commit is contained in:
Omar
2025-11-02 20:54:11 +03:00
committed by GitHub
parent e09be4f3fa
commit 2af1a62319
3 changed files with 19 additions and 5 deletions
@@ -62,7 +62,10 @@ where
) -> TransportResult<Self::Fillable> {
match self.inner.prepare(provider, tx).await {
Ok(fill) => Ok(Some(fill)),
Err(_) => Ok(None),
Err(err) => {
tracing::debug!(error = ?err, "Gas Provider Estimation Failed, using fallback");
Ok(None)
}
}
}