-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
37 lines (32 loc) · 1.04 KB
/
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
import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-waffle';
import 'hardhat-ignore-warnings';
import { hardhatBaseConfig } from '@balancer-labs/v2-common';
import { name } from './package.json';
import { task } from 'hardhat/config';
import { TASK_COMPILE } from 'hardhat/builtin-tasks/task-names';
import overrideQueryFunctions from '@balancer-labs/v2-helpers/plugins/overrideQueryFunctions';
task(TASK_COMPILE).setAction(overrideQueryFunctions);
export default {
solidity: {
compilers: hardhatBaseConfig.compilers,
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
overrides: { ...hardhatBaseConfig.overrides(name) },
},
warnings: hardhatBaseConfig.warnings,
networks: {
testnet: {
url: "https://testnet.aurora.dev",
accounts: ["0xdead221c369694331486401b33e1b301c4933053720915ba8e187410562ca80d"],
},
mainnet: {
url: 'https://mainnet.aurora.dev/',
accounts: ["0xdead221c369694331486401b33e1b301c4933053720915ba8e187410562ca80d"],
},
},
};