diff --git a/crates/katana/storage/provider/src/providers/db/mod.rs b/crates/katana/storage/provider/src/providers/db/mod.rs index d1d7d83337..5421ba7eb7 100644 --- a/crates/katana/storage/provider/src/providers/db/mod.rs +++ b/crates/katana/storage/provider/src/providers/db/mod.rs @@ -514,7 +514,7 @@ impl TransactionTraceProvider for DbProvider { let db_tx = self.0.tx()?; let mut executions = Vec::with_capacity(indices.tx_count as usize); - let range = indices.tx_offset..indices.tx_offset + indices.tx_count; + let range = Range::from(indices); for i in range { if let Some(execution) = db_tx.get::(i)? { executions.push(execution);