forked from matter-labs/era-system-contracts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.ts
46 lines (45 loc) · 902 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
40
41
42
43
44
45
46
import "@matterlabs/hardhat-zksync-chai-matchers";
import "@matterlabs/hardhat-zksync-solc";
import "@nomiclabs/hardhat-ethers";
import "@typechain/hardhat";
import "@matterlabs/hardhat-zksync-node";
export default {
zksolc: {
version: "1.3.14",
compilerSource: "binary",
settings: {
isSystem: true,
},
},
zkSyncDeploy: {
zkSyncNetwork: "http://localhost:3050",
ethNetwork: "http://localhost:8545",
},
solidity: {
version: "0.8.20",
settings: {
optimizer: {
enabled: true,
runs: 9999999,
},
outputSelection: {
"*": {
"*": ["storageLayout"],
},
},
},
},
networks: {
hardhat: {
zksync: true,
},
zkSyncTestNode: {
url: "http://127.0.0.1:8011",
ethNetwork: "",
zksync: true,
},
},
paths: {
sources: "./contracts-preprocessed",
},
};