pub async fn dump_all_storage_logs_for_tests(&mut self) -> Vec<DbStorageLog> {
        let rows = sqlx::query!(
            r#"
            SELECT
                hashed_key,
                address,
                key,
                value,
                operation_number,
                miniblock_number
            FROM
                storage_logs
            ORDER BY
                miniblock_number,
                operation_number
            "#
        )
        .fetch_all(self.storage.conn())
        .await
        .expect("get_all_storage_logs_for_tests");

        rows.into_iter()
            .map(|row| DbStorageLog {
                hashed_key: H256::from_slice(&row.hashed_key),
                address: row.address.as_deref().map(H160::from_slice),
                key: row.key.as_deref().map(H256::from_slice),
                value: H256::from_slice(&row.value),
                operation_number: row.operation_number as u64,
                l2_block_number: L2BlockNumber(row.miniblock_number as u32),
            })
            .collect()
    }
Retrieves all storage log entries for testing purposes.
core/lib/dal/src/storage_logs_dal.rs