Skip to content

Commit

Permalink
Move from specron to hardhat.
Browse files Browse the repository at this point in the history
  • Loading branch information
MoMannn committed Aug 19, 2021
1 parent e5ceb49 commit 62cd62e
Show file tree
Hide file tree
Showing 15 changed files with 32,091 additions and 9,671 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ jobs:
- run: |
npm ci
npm run solhint && npm test
npm run coverage
21 changes: 20 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,23 @@
.vscode
node_modules
dist
build
build
# Config files,
.idea/
.vscode
# Node.js
node_modules
package.json
package-lock.json
#Hardhat files
bin
cache
artifacts
data/
#Solidity
soljson*
.tmp*
metadata/
#coverage
coverage.json
coverage
25 changes: 25 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
require('@nomiclabs/hardhat-waffle');
require('hardhat-abi-exporter');
require('solidity-coverage');

/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: '0.8.6',
networks: {
hardhat: {
initialBaseFeePerGas: 0 // hardhat london fork error fix for coverage
}
},
paths: {
sources: './src/*',
artifacts: './build',
tests: './src/tests/*'
},
abiExporter: {
path: './data/abi',
clear: true,
flat: true,
}
};
Loading

0 comments on commit 62cd62e

Please sign in to comment.