Skip to content

Commit

Permalink
added temp fix as per sc-forks/solidity-coverage#652
Browse files Browse the repository at this point in the history
  • Loading branch information
denciu committed Aug 18, 2021
1 parent 90e53da commit c5ccb06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Expand Up @@ -11,6 +11,7 @@ jobs:
INFURA_KEY: ${{ secrets.INFURA_KEY }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
CODE_COVERAGE: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand Down
3 changes: 3 additions & 0 deletions hardhat.config.ts
Expand Up @@ -37,6 +37,9 @@ export const config: HardhatUserConfig = {
url: "https://xdai.poanetwork.dev",
accounts: [`${process.env.PRIVATE_KEY}`],
},
hardhat: {
hardfork: process.env.CODE_COVERAGE ? "berlin" : "london"
}
},
mocha: {
timeout: "600s",
Expand Down

0 comments on commit c5ccb06

Please sign in to comment.