From 4e571530ba6a66e2105b3bc1569f5c0fc37ed66a Mon Sep 17 00:00:00 2001 From: FelixFan1992 Date: Tue, 4 Feb 2025 10:51:42 -0500 Subject: [PATCH] update --- .github/workflows/test.yaml | 4 ++-- src/localFunctionsTestnet.ts | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 583a729..91307d4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -32,8 +32,8 @@ jobs: with: deno-version: '1.36.2' - - name: start-anvil - run: anvil --chain-id 1337 & +# - name: start-anvil +# run: anvil --chain-id 1337 & # 'integration' are the Jest tests that cover code in unit-testing way, so both are included - name: Run unit tests diff --git a/src/localFunctionsTestnet.ts b/src/localFunctionsTestnet.ts index eda89e0..1ecee7f 100644 --- a/src/localFunctionsTestnet.ts +++ b/src/localFunctionsTestnet.ts @@ -45,8 +45,7 @@ export const startLocalFunctionsTestnet = async ( const anvil = createAnvil({ port, - chainId: 90000001, - startTimeout: 60000, + chainId: 1337, // ...options, // logging: { // debug: false, @@ -55,7 +54,7 @@ export const startLocalFunctionsTestnet = async ( }) await anvil.start() - console.log(`Anvil started on port ${port} with chain ID 90000001`) + console.log(`Anvil started on port ${port} with chain ID 1337`) // server.listen(port, 'localhost', (err: Error | null) => { // if (err) {