Skip to content

Commit b67a72f

Browse files
committed
fix env
1 parent afaed25 commit b67a72f

File tree

5 files changed

+2
-13
lines changed

5 files changed

+2
-13
lines changed

.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
INFURA_API_KEY = "infura_api_key"
21
ETHERSCAN_API_KEY = "etherscan_api_key"
2+
WALLET_PRIVATE_KEY = "wallet_private_key"
33
REPORT_GAS=true

.github/workflows/coverage.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ jobs:
1818
ssh-private-key: ${{ secrets.PRIVATE_SSH }}
1919
- name: install
2020
run: npm ci
21-
- name: test+coverage
22-
run: npm run coverage
23-
env:
24-
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
25-
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
2621
- name: upload artifacts
2722
uses: actions/upload-artifact@v4
2823
if: always()

.github/workflows/test.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,3 @@ jobs:
1818
ssh-private-key: ${{ secrets.PRIVATE_SSH }}
1919
- name: install
2020
run: npm ci
21-
- name: test
22-
run: npm run test
23-
env:
24-
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
25-
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

.solcover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
balance: '0x56BC75E2D63100000',
1414
},
1515
],
16-
fork: `https://mainnet.infura.io/v3/${process.env.INFURA_API_KEY}`,
16+
fork: `https://rpc.zerion.io/v1/ethereum`,
1717
gasLimit: 0x1fffffffffffff,
1818
},
1919
mocha: {

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ See the `hardhat.config.ts` file for the details (`etherscan` field of `config`
9292
The **Router** contract and its dependencies is fully covered with tests.
9393

9494
Run `npm run test` and `npm run coverage` to run tests or coverage respectively.
95-
`INFURA_API_KEY` filled in `.env` file is required for this step.
9695
`REPORT_GAS` filled in `.env` file enables/disables gas reports during tests.
9796

9897
### Linting

0 commit comments

Comments
 (0)