import { defineConfig } from "hardhat/config"; import hardhatToolboxMochaEthersPlugin from "@nomicfoundation/hardhat-toolbox-mocha-ethers"; export default defineConfig({ plugins: [hardhatToolboxMochaEthersPlugin], solidity: { version: "0.8.25", settings: { optimizer: { enabled: true, runs: 200 }, evmVersion: "cancun" } }, paths: { sources: "contracts", tests: "test", cache: "cache", artifacts: "artifacts" }, networks: { localhost: { type: "http", chainType: "l1", url: "http://127.0.0.1:8545" } } });