Supply the revert reason in the logs

This commit is contained in:
Omar Abdulla
2025-11-02 20:52:12 +03:00
parent e09be4f3fa
commit 81829e9e1f
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)
}
}
}