From 612efece8f31e064b670991f382f1d3fbc1792cc Mon Sep 17 00:00:00 2001 From: Milan Steiner Date: Fri, 11 Mar 2022 10:34:29 +0100 Subject: [PATCH] Fix tests --- packages/cosmwasm-stargate/src/cosmwasmclient.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/cosmwasm-stargate/src/cosmwasmclient.ts b/packages/cosmwasm-stargate/src/cosmwasmclient.ts index 15cec983..25117fc8 100644 --- a/packages/cosmwasm-stargate/src/cosmwasmclient.ts +++ b/packages/cosmwasm-stargate/src/cosmwasmclient.ts @@ -318,7 +318,6 @@ export class CosmWasmClient { const { codeInfos, pagination }: QueryCodesResponse = await this.forceGetQueryClient().wasm.listCodeInfo(startAtKey); const loadedCodes = codeInfos || []; - loadedCodes.reverse(); allCodes.unshift(...loadedCodes); startAtKey = pagination?.nextKey; } while (startAtKey?.length !== 0);