forked from Behodler/limbo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
70 lines (65 loc) · 1.55 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import { task } from "hardhat/config";
import "@typechain/hardhat";
import "@nomiclabs/hardhat-ethers";
import "@nomiclabs/hardhat-waffle";
import "hardhat-deploy";
import "./tasks/index";
import "hardhat-gas-reporter"
import * as mnemonic from "./private/testmnemonic.json";
task("accounts", "Prints the list of accounts", async (_, hre) => {
const accounts = await hre.ethers.getSigners();
for (const account of accounts) {
console.log(account.address);
}
});
export default {
solidity: "0.8.13",
gasReporter: {
optimizer: true,
outputFile:"gasReport.json",
disabled:true
},
networks: {
hardhat: {
// allowUnlimitedContractSize: true,
chainId: 1337,
accounts: {
mnemonic: "eight fun oak spot hip pencil matter domain bright fiscal nurse easy",
},
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
//comment out mining block for non wargame tests
// mining: {
// auto: false,
// interval: 2,
// },
},
ropsten: {
url: `https://nd-564-762-624.p2pify.com/41adb4b5065ff74a971a8bf5e85947c7`,
chainId: 3,
accounts: {
mnemonic: mnemonic.phrase,
},
from: mnemonic.primary,
gasMultiplier: 6,
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
// maxFeePerGas: "0x17D78400",
// maxPriorityFeePerGas: "0x17D78400",
},
},
namedAccounts: {
deployer: 0,
},
mocha: {
timeout: 3000000,
},
};