We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47cb12 commit 12a8786Copy full SHA for 12a8786
tee-worker/omni-executor/ethereum-rpc/src/lib.rs
@@ -173,14 +173,9 @@ impl RpcProvider for AlloyRpcProvider {
173
.await
174
.map_err(RpcProviderError::from_alloy_error)?;
175
176
- // Get transaction hash before waiting for receipt
+ // Get transaction hash and return immediately without waiting for confirmation
177
let tx_hash = pending_tx.tx_hash().to_string();
178
179
- // wait for transaction to be included
180
- let _ = pending_tx.get_receipt().await.map_err(|e| {
181
- RpcProviderError::Transaction(format!("Failed to get transaction receipt: {}", e))
182
- })?;
183
-
184
Ok(tx_hash)
185
}
186
0 commit comments