forked from privacy-scaling-explorations/maci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
39 lines (35 loc) · 863 Bytes
/
hardhat.config.ts
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
30
31
32
33
34
35
36
37
38
39
import "@nomicfoundation/hardhat-toolbox";
import type { HardhatUserConfig } from "hardhat/types";
const WALLET_MNEMONIC = "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat";
const GAS_LIMIT = 30_000_000;
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
networks: {
hardhat: {
gas: GAS_LIMIT,
blockGasLimit: GAS_LIMIT,
accounts: { count: 30, mnemonic: WALLET_MNEMONIC },
mining: {
auto: true,
interval: 100,
},
},
},
solidity: {
version: "0.8.20",
settings: {
optimizer: {
enabled: true,
runs: 200,
details: {
yul: true,
},
},
},
},
paths: {
sources: "./node_modules/maci-contracts/contracts",
artifacts: "./node_modules/maci-contracts/artifacts",
},
};
export default config;