Skip to content

Commit

Permalink
[TRIVIAL] Improve logs for created ethflow orders (#3015)
Browse files Browse the repository at this point in the history
# Description
It annoys me to no end that you have to search different words for order
creation depending on whether it was indexed by the autopilot or
submitted by the user via the orderbook.
I don't know how much time I already wasted searching for ethflow orders
because these logs are different!
**rant over**

# Changes
Makes the onchain order indexing log use the same words as the
orderbook.
  • Loading branch information
MartinquaXD authored Sep 25, 2024
1 parent 6e167fa commit c25635d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/autopilot/src/database/onchain_order_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ impl<T: Send + Sync + Clone, W: Send + Sync> OnchainOrderParser<T, W> {
tracing::debug!(?order, "invalidated order");
}
for (order, quote) in orders.iter().zip(quotes.iter()) {
tracing::debug!(order =? order.uid, ?quote, "upserted order");
tracing::debug!(order =? order.uid, ?quote, "order created");
}

Ok(())
Expand Down

0 comments on commit c25635d

Please sign in to comment.