hardhat.config.ts 638 Bytes
Newer Older
John Doe's avatar
John Doe committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "@openzeppelin/hardhat-upgrades";

const config: HardhatUserConfig = {
  solidity: {
    version: '0.8.24',
    settings: {
      evmVersion: 'cancun',
      optimizer: { enabled: true, runs: 5000 },
    },
  },
  networks: {
    hardhat: {
      blockGasLimit: 30000000,
      gasPrice: "auto",
      hardfork: 'cancun',
      accounts: {
        mnemonic: "artwork story jeans lyrics expose update sword absurd rail game argue submit"
      },
      chainId: 1
    }
  },
  mocha: {
    timeout: 200000
  }
};

export default config;