Skip to content

Commit 553aac5

Browse files
aleem1314Alessio Tregliajgimenoamaury1093
authored
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 <alessio@tendermint.com> Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com> Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
1 parent e23d361 commit 553aac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/auth/tx/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ func parseOrderBy(orderBy txtypes.OrderBy) string {
170170
case txtypes.OrderBy_ORDER_BY_DESC:
171171
return "desc"
172172
default:
173-
return "asc"
173+
return "" // Defaults to Tendermint's default, which is `asc` now.
174174
}
175175
}

0 commit comments

Comments
 (0)