Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
albertandrejev committed Jul 31, 2023
1 parent abcdae4 commit d14679e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/testcases/run_in_band/interchaintx.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ describe('Neutron / Interchain TXs', () => {
);

// wait until sudo is called and processed and failure is recorder
await getWithAttempts<AckFailuresResponse>(
await wait.getWithAttempts<types.AckFailuresResponse>(
neutronChain.blockWaiter,
async () => neutronChain.queryAckFailures(contractAddress),
async (data) => data.failures.length == 1,
Expand Down Expand Up @@ -606,7 +606,7 @@ describe('Neutron / Interchain TXs', () => {
);

// wait until sudo is called and processed and failure is recorder
await getWithAttempts<AckFailuresResponse>(
await wait.getWithAttempts<types.AckFailuresResponse>(
neutronChain.blockWaiter,
async () => neutronChain.queryAckFailures(contractAddress),
async (data) => data.failures.length == 2,
Expand Down Expand Up @@ -649,7 +649,7 @@ describe('Neutron / Interchain TXs', () => {
);

// wait until sudo is called and processed and failure is recorder
await getWithAttempts<AckFailuresResponse>(
await wait.getWithAttempts<types.AckFailuresResponse>(
neutronChain.blockWaiter,
async () => neutronChain.queryAckFailures(contractAddress),
async (data) => data.failures.length == 3,
Expand Down Expand Up @@ -693,7 +693,7 @@ describe('Neutron / Interchain TXs', () => {
);

// wait until sudo is called and processed and failure is recorder
await getWithAttempts<AckFailuresResponse>(
await wait.getWithAttempts<types.AckFailuresResponse>(
neutronChain.blockWaiter,
async () => neutronChain.queryAckFailures(contractAddress),
async (data) => data.failures.length == 4,
Expand Down
3 changes: 3 additions & 0 deletions src/testcases/run_in_band/tge.auction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
NEUTRON_DENOM,
TestStateLocalCosmosTestNet,
tge,
tokenfactory,
types,
wait,
} from 'neutronjs';
Expand Down Expand Up @@ -136,6 +137,7 @@ describe('Neutron / TGE / Auction', () => {

beforeAll(async () => {
cosmosWrapper.registerCodecs();
tokenfactory.registerCodecs();

testState = new TestStateLocalCosmosTestNet(config);
await testState.init();
Expand Down Expand Up @@ -244,6 +246,7 @@ describe('Neutron / TGE / Auction', () => {
tgeMain.times.airdropVestingStart = tge.getTimestamp(300);
await tgeMain.deployPreAuction();
});

it('should not be able to set token info by stranger', async () => {
await expect(
tge.executeVestingLpSetVestingToken(
Expand Down

0 comments on commit d14679e

Please sign in to comment.