mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Merge pull request #193 from CosmWasm/stabilize-ci
Give blockchain more time to index transactions
This commit is contained in:
commit
7c70cb3c6a
@ -59,7 +59,7 @@ describe("CosmWasmClient.searchTx", () => {
|
||||
amount: "1234567",
|
||||
};
|
||||
const result = await client.sendTokens(recipient, [transferAmount]);
|
||||
await sleep(50); // wait until tx is indexed
|
||||
await sleep(75); // wait until tx is indexed
|
||||
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
|
||||
sendSuccessful = {
|
||||
sender: alice.address0,
|
||||
@ -137,7 +137,7 @@ describe("CosmWasmClient.searchTx", () => {
|
||||
},
|
||||
};
|
||||
const result = await client.execute(hashInstance, msg);
|
||||
await sleep(50); // wait until tx is indexed
|
||||
await sleep(75); // wait until tx is indexed
|
||||
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
|
||||
postedExecute = {
|
||||
sender: alice.address0,
|
||||
|
@ -418,7 +418,7 @@ describe("RestClient", () => {
|
||||
};
|
||||
}
|
||||
|
||||
await sleep(50); // wait until transactions are indexed
|
||||
await sleep(75); // wait until transactions are indexed
|
||||
}
|
||||
});
|
||||
|
||||
@ -499,7 +499,7 @@ describe("RestClient", () => {
|
||||
];
|
||||
const result = await client.sendTokens(recipient, transferAmount);
|
||||
|
||||
await sleep(50); // wait until tx is indexed
|
||||
await sleep(75); // wait until tx is indexed
|
||||
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
|
||||
posted = {
|
||||
sender: alice.address0,
|
||||
|
@ -158,7 +158,7 @@ export class Faucet {
|
||||
for (const job of jobs) {
|
||||
if (this.logging) logSendJob(job, this.tokenConfig);
|
||||
await this.send(job);
|
||||
await sleep(50);
|
||||
await sleep(75);
|
||||
}
|
||||
|
||||
if (this.logging) {
|
||||
|
@ -51,7 +51,7 @@ describe("CosmosClient.searchTx", () => {
|
||||
amount: "1234567",
|
||||
};
|
||||
const result = await client.sendTokens(recipient, [transferAmount]);
|
||||
await sleep(50); // wait until tx is indexed
|
||||
await sleep(75); // wait until tx is indexed
|
||||
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
|
||||
sendSuccessful = {
|
||||
sender: faucet.address,
|
||||
|
@ -290,7 +290,7 @@ describe("RestClient", () => {
|
||||
};
|
||||
}
|
||||
|
||||
await sleep(50); // wait until transactions are indexed
|
||||
await sleep(75); // wait until transactions are indexed
|
||||
}
|
||||
});
|
||||
|
||||
@ -371,7 +371,7 @@ describe("RestClient", () => {
|
||||
];
|
||||
const result = await client.sendTokens(recipient, transferAmount);
|
||||
|
||||
await sleep(50); // wait until tx is indexed
|
||||
await sleep(75); // wait until tx is indexed
|
||||
const txDetails = await new RestClient(wasmd.endpoint).txById(result.transactionHash);
|
||||
posted = {
|
||||
sender: faucet.address,
|
||||
|
Loading…
x
Reference in New Issue
Block a user