From 8a71dbdf18624b668c4f5f6f882e3178fe756d0d Mon Sep 17 00:00:00 2001 From: Rodolphe Marques Date: Wed, 27 Sep 2023 15:42:29 +0200 Subject: [PATCH] fix: connection to ganache --- .github/workflows/testing.yml | 2 +- package.json | 2 +- test/config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 3445f1124..ce6ba5959 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -81,7 +81,7 @@ jobs: - name: Start ganache env: SEED_WORDS: ${{ secrets.seedWords }} - run: yarn ganache --port 18545 --chain.chainId 8998 --wallet.mnemonic "$SEED_WORDS" --detach + run: yarn ganache --server.port 18545 --chain.chainId 8998 --wallet.mnemonic "$SEED_WORDS" --detach - name: Run unit tests env: diff --git a/package.json b/package.json index 0f25b381f..643f0b3bf 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-tsdoc": "^0.2.16", "express": "^4.18.2", - "ganache": "^7.9.0", + "ganache": "^7.9.1", "http-proxy": "^1.18.1", "husky": "^8.0.3", "lint-staged": "^13.0.4", diff --git a/test/config.ts b/test/config.ts index e1074ae9b..aee61e244 100644 --- a/test/config.ts +++ b/test/config.ts @@ -7,7 +7,7 @@ const config = { marketplaceUri: 'http://localhost:3100', neverminedNodeUri: 'http://localhost:8030', neverminedNodeAddress: '0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0', - web3ProviderUri: `http://localhost:${process.env.ETH_PORT || 8545}`, + web3ProviderUri: `http://127.0.0.1:${process.env.ETH_PORT || 8545}`, verbose: LogLevel.Error, artifactsFolder: './artifacts', circuitsFolder: './circuits',