Skip to content

Commit

Permalink
watcher: skip terra2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel authored and bruce-riley committed Nov 13, 2024
1 parent 4aa07c4 commit 8f0ff8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions watcher/src/watchers/CosmwasmWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export class CosmwasmWatcher extends Watcher {
return SHA256.hash(Base64.parse(data)).toString().toUpperCase();
}

/* These two tests are failing for Terra2. Opened an issue to address it: https://github.com/wormhole-foundation/wormhole-dashboard/issues/386
async getFinalizedBlockNumber(): Promise<number> {
const result = (await axios.get(`${this.rpc}/${this.latestBlockTag}`, AXIOS_CONFIG_JSON)).data;
if (result && result.block.header.height) {
Expand Down Expand Up @@ -156,7 +155,6 @@ export class CosmwasmWatcher extends Watcher {
}
return vaasByBlock;
}
*/
}

export type CosmwasmBlockResult = {
Expand Down
4 changes: 2 additions & 2 deletions watcher/src/watchers/__tests__/CosmwasmWatcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import { isBase64Encoded } from '../../utils/isBase64Encoded';

jest.setTimeout(60000);

test('getFinalizedBlockNumber(terra2)', async () => {
test.skip('getFinalizedBlockNumber(terra2)', async () => {
const watcher = new TerraExplorerWatcher('Mainnet', 'Terra2');
const blockNumber = await watcher.getFinalizedBlockNumber();
expect(blockNumber).toBeGreaterThan(3181746);
});

test('getMessagesForBlocks(terra2)', async () => {
test.skip('getMessagesForBlocks(terra2)', async () => {
const watcher = new TerraExplorerWatcher('Mainnet', 'Terra2');
const vaasByBlock = await watcher.getMessagesForBlocks(10847656, 10847657);
const entries = Object.entries(vaasByBlock);
Expand Down

0 comments on commit 8f0ff8c

Please sign in to comment.