Skip to content

Commit 723a274

Browse files
committed
logs sim env errors
1 parent 8220b4f commit 723a274

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

crates/bundle/src/send/driver.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::send::SignetEthBundle;
2-
use alloy::{consensus::{Transaction, transaction::SignerRecoverable}, hex, primitives::U256};
2+
use alloy::{consensus::Transaction, hex, primitives::U256};
33
use signet_evm::{DriveBundleResult, EvmErrored, EvmNeedsTx, SignetInspector, SignetLayered};
44
use signet_types::{AggregateFills, AggregateOrders, MarketError, SignedPermitError};
55
use std::borrow::Cow;
@@ -298,15 +298,7 @@ where
298298
Ok(htrevm.accept_state())
299299
})
300300
.map_err(|err| {
301-
let addr = tx.recover_signer().unwrap_or_default();
302-
let wanted_nonce = trevm.try_read_nonce(addr);
303-
let got_nonce = tx.nonce();
304-
debug!(
305-
host_tx = ?tx,
306-
wanted_nonce = ?wanted_nonce,
307-
got_nonce = ?got_nonce,
308-
);
309-
error!(host_tx = ?tx, ?block_number, err = %err.error(), err_dbg = ?err.error(), "error while running host transaction");
301+
error!(host_tx_nonce = ?tx.nonce(), ?block_number, err = %err.error(), err_dbg = ?err.error(), "error while running host transaction");
310302
SignetEthBundleError::HostSimulation("host simulation error")
311303
}),
312304
trevm

0 commit comments

Comments
 (0)