const fs = require('fs');
const path = require('path');

usePlugin('solidity-coverage');
usePlugin('@nomiclabs/buidler-truffle5');

for (const f of fs.readdirSync(path.join(__dirname, 'buidler'))) {
  require(path.join(__dirname, 'buidler', f));
}

module.exports = {
  networks: {
    buidlerevm: {
      blockGasLimit: 10000000,
    },
  },
  solc: {
    version: '0.8.0',
  },
};
