Skip to content

Commit f2caa51

Browse files
committed
watcher: update injective test
1 parent 19493fa commit f2caa51

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

watcher/src/watchers/__tests__/CosmwasmWatcher.test.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,17 @@ test('getFinalizedBlockNumber(injective)', async () => {
128128

129129
test('getMessagesForBlocks(injective)', async () => {
130130
const watcher = new InjectiveExplorerWatcher();
131-
const vaasByBlock = await watcher.getMessagesForBlocks(24905509, 24905510);
131+
const vaasByBlock = await watcher.getMessagesForBlocks(54960088, 54960089);
132132
// const vaasByBlock = await watcher.getMessagesForBlocks(4209642, 4209643); // Testnet
133133
const entries = Object.entries(vaasByBlock);
134134
expect(entries.length).toEqual(2);
135135
expect(entries.filter(([block, vaas]) => vaas.length === 0).length).toEqual(1);
136136
expect(entries.filter(([block, vaas]) => vaas.length === 1).length).toEqual(1);
137137
expect(entries.filter(([block, vaas]) => vaas.length === 2).length).toEqual(0);
138-
expect(vaasByBlock['24905509/2023-01-27T19:11:35.174Z']).toBeDefined();
139-
expect(vaasByBlock['24905509/2023-01-27T19:11:35.174Z'].length).toEqual(1);
140-
expect(vaasByBlock['24905509/2023-01-27T19:11:35.174Z'][0]).toEqual(
141-
'0xab3f3f6ebd51c4776eeb5d0eef525207590daab24cf794434387747395a3e904:19/00000000000000000000000045dbea4617971d93188eda21530bc6503d153313/33'
138+
expect(vaasByBlock['54960088/2023-12-20T14:13:08.632Z']).toBeDefined();
139+
expect(vaasByBlock['54960088/2023-12-20T14:13:08.632Z'].length).toEqual(1);
140+
expect(vaasByBlock['54960088/2023-12-20T14:13:08.632Z'][0]).toEqual(
141+
'0x6cd433b24d5cba6e4ca2ebcb14f03d2faa495994830e4a43c1505113b031b7cf:19/00000000000000000000000045dbea4617971d93188eda21530bc6503d153313/2135'
142142
);
143143
});
144144

0 commit comments

Comments
 (0)