Fix tests

This commit is contained in:
Milan Steiner 2022-03-11 10:34:29 +01:00
parent a89ca5fa0e
commit 612efece8f

View File

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