chore: expose actual debug_traceCall error
Without this it was being hidden, somehow.
This commit is contained in:
@@ -130,6 +130,10 @@ impl RPCProvider {
|
|||||||
.client()
|
.client()
|
||||||
.request("debug_traceCall", (transaction, BlockId::from(block_number), trace_options))
|
.request("debug_traceCall", (transaction, BlockId::from(block_number), trace_options))
|
||||||
.await
|
.await
|
||||||
|
.map_err(|e| {
|
||||||
|
tracing::error!("debug_traceCall RPC error: {:#}", e);
|
||||||
|
e
|
||||||
|
})
|
||||||
.into_diagnostic()
|
.into_diagnostic()
|
||||||
.wrap_err("Failed to debug trace call many")?;
|
.wrap_err("Failed to debug trace call many")?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user