diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 618e382a..4a797442 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,6 +18,7 @@ jobs: env: ETH_RPC: ${{ secrets.ETH_RPC }} SOLANA_RPC: ${{ secrets.SOLANA_RPC }} + NEAR_ARCHIVE_RPC: ${{ secrets.NEAR_ARCHIVE_RPC }} run: npm run test --workspaces --if-present format: runs-on: ubuntu-latest diff --git a/watcher/src/watchers/__tests__/NearWatcher.test.ts b/watcher/src/watchers/__tests__/NearWatcher.test.ts index f3f69e69..71c94389 100644 --- a/watcher/src/watchers/__tests__/NearWatcher.test.ts +++ b/watcher/src/watchers/__tests__/NearWatcher.test.ts @@ -9,7 +9,7 @@ import { NearArchiveWatcher } from '../NearArchiveWatcher'; jest.setTimeout(60000); const INITIAL_NEAR_BLOCK = Number(INITIAL_DEPLOYMENT_BLOCK_BY_CHAIN.near ?? 0); -let archiveWatcher: NearWatcher = new NearArchiveWatcher(); +let archiveWatcher: NearArchiveWatcher = new NearArchiveWatcher(); test('getFinalizedBlockNumber', async () => { const blockNumber = await archiveWatcher.getFinalizedBlockNumber();