Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/test-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,8 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./packages/contracts/coverage/lcov.info

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./packages/contracts/coverage/lcov.info
2 changes: 1 addition & 1 deletion packages/contracts/.solcover.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { accountsList } = require("./hardhatAccountsList2k.js");
// https://hardhat.org/plugins/solidity-coverage.html#configuration
// Link in providerOptions:
// https://github.com/trufflesuite/ganache-core#options
const accounts = accountsList.map(a => ({ secretKey: a.privateKey, balance: '0xc097ce7bc90715b34b9f1000000000' }))
const accounts = accountsList.map(a => ({ secretKey: a.privateKey, balance: '0xc097ce7bc90715b34b9f1000000000' }));

module.exports = {
providerOptions: {
Expand Down
1 change: 1 addition & 0 deletions packages/contracts/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ module.exports = {
gas: 10000000, // tx gas limit
blockGasLimit: 12500000,
gasPrice: 20000000000,
hardfork: "istanbul", // TODO: fix after unit tests are fixed!
},
mainnet: {
url: alchemyUrl(),
Expand Down