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);