29 lines
541 B
JavaScript
29 lines
541 B
JavaScript
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
require('@nomiclabs/hardhat-truffle5');
|
|
require('@nomiclabs/hardhat-solhint');
|
|
require('solidity-coverage');
|
|
|
|
for (const f of fs.readdirSync(path.join(__dirname, 'hardhat'))) {
|
|
require(path.join(__dirname, 'hardhat', f));
|
|
}
|
|
|
|
/**
|
|
* @type import('hardhat/config').HardhatUserConfig
|
|
*/
|
|
module.exports = {
|
|
solidity: '0.8.0',
|
|
settings: {
|
|
optimizer: {
|
|
enabled: false,
|
|
runs: 200,
|
|
},
|
|
},
|
|
networks: {
|
|
hardhat: {
|
|
blockGasLimit: 10000000,
|
|
},
|
|
},
|
|
};
|