We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b3acd9 commit 2926d8cCopy full SHA for 2926d8c
watcher/src/watchers/__tests__/AptosWatcher.test.ts
@@ -9,13 +9,13 @@ const INITAL_SEQUENCE_NUMBER = Number(
9
);
10
11
test('getFinalizedSequenceNumber', async () => {
12
- const watcher = new AptosWatcher('Mainnet');
+ const watcher = new AptosWatcher('Mainnet', 'Aptos');
13
const blockNumber = await watcher.getFinalizedBlockNumber();
14
expect(blockNumber).toBeGreaterThan(INITAL_SEQUENCE_NUMBER);
15
});
16
17
test('getMessagesForSequenceNumbers', async () => {
18
19
const { vaasByBlock: messages } = await watcher.getMessagesForBlocks(0, 1);
20
expect(messages).toMatchObject({
21
'1095891/2022-10-19T00:55:54.676Z/0': [
0 commit comments