require("@nomiclabs/hardhat-waffle"); require("@nomiclabs/hardhat-ethers"); require(__dirname + "/../plugins/nomiclabs.plugin"); if (!process.env.ALCHEMY_TOKEN){ throw new Error( "This test requires that you set ALCHEMY_TOKEN to a valid token in your development env" ); } module.exports = { solidity: { version: "0.8.17", settings: { optimizer: { enabled: true }, viaIR: process.env.VIA_IR === "true" } }, networks: { hardhat: { timeout: 100000, forking: { url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_TOKEN}`, blockNumber: 14000000, } } }, mocha: { timeout: 100000 }, logger: process.env.SILENT ? { log: () => {} } : console, };