Supply the revert reason in the logs (#200)

This commit is contained in:
Omar authored and GitHub committed 2025-11-02 17:54:11 +00:00
1 parent e09be4f3fa
commit 2af1a62319
3 files changed
+19 -5

No files matched your search

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