Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-dydx committed Mar 27, 2024
1 parent 05ecb66 commit 0139274
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protocol/app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ func (h *lockingAnteHandler) clobAnteHandle(ctx sdk.Context, tx sdk.Tx, simulate
case *types.MsgCancelOrder:
orderId = msg.OrderId
ctx.Logger().Info("roycloblog", "order_id", orderIdStr(orderId, "cancel"), "block_height", ctx.BlockHeight())
case *types.MsgPlaceOrder:
orderId = msg.Order.OrderId
ctx.Logger().Info("roycloblog", "order_id", orderIdStr(orderId, "place"), "block_height", ctx.BlockHeight())
}

if ctx, err = h.clobRateLimit.AnteHandle(ctx, tx, simulate, noOpAnteHandle); err != nil {
Expand Down

0 comments on commit 0139274

Please sign in to comment.