From 01392744cfbfd7c74b864e911d491b9fb1f9cc4c Mon Sep 17 00:00:00 2001 From: Roy Li Date: Wed, 27 Mar 2024 05:53:57 -0400 Subject: [PATCH] log --- protocol/app/ante.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocol/app/ante.go b/protocol/app/ante.go index b03dc04c98..3d7efd6e86 100644 --- a/protocol/app/ante.go +++ b/protocol/app/ante.go @@ -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 {