-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
37 lines (35 loc) · 907 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
import '@nomiclabs/hardhat-solpp';
import 'hardhat-typechain';
import '@nomiclabs/hardhat-ethers';
import '@matterlabs/hardhat-zksync-solc';
const systemConfig = require('./SystemConfig.json');
export default {
zksolc: {
version: '1.3.7',
compilerSource: 'binary',
settings: {
isSystem: true
}
},
zkSyncDeploy: {
zkSyncNetwork: 'http://localhost:3050',
ethNetwork: 'http://localhost:8545'
},
solidity: {
version: '0.8.17'
},
solpp: {
defs: (() => {
return {
ECRECOVER_COST_GAS: systemConfig.ECRECOVER_COST_GAS,
KECCAK_ROUND_COST_GAS: systemConfig.KECCAK_ROUND_COST_GAS,
SHA256_ROUND_COST_GAS: systemConfig.SHA256_ROUND_COST_GAS
}
})()
},
networks: {
hardhat: {
zksync: true
}
}
};