Skip to content

Commit

Permalink
.github/workflow: add secret
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel committed Dec 1, 2023
1 parent 1e13e45 commit a39e640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion watcher/src/watchers/__tests__/NearWatcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a39e640

Please sign in to comment.