From 553aac50305b02e406cd51479b48a99ca34b4a4e Mon Sep 17 00:00:00 2001 From: MD Aleem <72057206+aleem1314@users.noreply.github.com> Date: Mon, 15 Mar 2021 23:26:33 +0530 Subject: [PATCH] add orderBy parameter to TxsByEvents (#8815) * add orderBy parameter to grpc query * add orderby parameter * change orderBy param to enum * lint * proto lint * add changelog * Update x/auth/tx/service.go Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com> Co-authored-by: Alessio Treglia Co-authored-by: Jonathan Gimeno Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com> --- x/auth/tx/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/auth/tx/service.go b/x/auth/tx/service.go index 2d73a110b7..4ceebb7870 100644 --- a/x/auth/tx/service.go +++ b/x/auth/tx/service.go @@ -170,6 +170,6 @@ func parseOrderBy(orderBy txtypes.OrderBy) string { case txtypes.OrderBy_ORDER_BY_DESC: return "desc" default: - return "asc" + return "" // Defaults to Tendermint's default, which is `asc` now. } }