0g-chain/precompiles/interfaces/hardhat.config.ts
MiniFrenchBread 100bad3471
Some checks failed
Continuous Integration (Commit) / lint (push) Has been cancelled
fix: solc evm version
2024-11-11 13:37:45 +08:00

34 lines
747 B
TypeScript

import "hardhat-abi-exporter";
import { HardhatUserConfig } from "hardhat/types";
const config: HardhatUserConfig = {
paths: {
artifacts: "build/artifacts",
cache: "build/cache",
sources: "contracts",
},
solidity: {
compilers: [
{
version: "0.8.20",
settings: {
evmVersion: "istanbul",
optimizer: {
enabled: true,
runs: 200,
},
},
},
],
},
abiExporter: {
path: "./abis",
runOnCompile: true,
clear: true,
flat: true,
format: "json",
},
};
export default config;