12345678910111213141516171819202122232425262728 |
- 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,
- },
- },
- };
|