mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: Bump revm to newest (#6357)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -383,7 +383,8 @@ mod tests {
|
||||
tx.get::<tables::Transactions>(0).err(),
|
||||
Some(DatabaseError::Open(reth_libmdbx::Error::NotFound.into()))
|
||||
); // Transaction is not timeout-ed
|
||||
assert!(!tx.metrics_handler.unwrap().backtrace_recorded.load(Ordering::Relaxed)); // Backtrace is not recorded
|
||||
assert!(!tx.metrics_handler.unwrap().backtrace_recorded.load(Ordering::Relaxed));
|
||||
// Backtrace is not recorded
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -402,6 +403,7 @@ mod tests {
|
||||
tx.get::<tables::Transactions>(0).err(),
|
||||
Some(DatabaseError::Open(reth_libmdbx::Error::ReadTransactionAborted.into()))
|
||||
); // Transaction is timeout-ed
|
||||
assert!(tx.metrics_handler.unwrap().backtrace_recorded.load(Ordering::Relaxed)); // Backtrace is recorded
|
||||
assert!(tx.metrics_handler.unwrap().backtrace_recorded.load(Ordering::Relaxed));
|
||||
// Backtrace is recorded
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user