-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.ts
37 lines (35 loc) · 1.19 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 '@typechain/hardhat'
import { HardhatUserConfig } from 'hardhat/types'
export default <HardhatUserConfig>{
defaultNetwork: 'hardhat',
networks: {
hardhat: {
gas: 999999999999,
blockGasLimit: 0x1fffffffffffff,
allowUnlimitedContractSize: true,
},
localhost: {
gas: 999999999999,
blockGasLimit: 0x1fffffffffffff,
allowUnlimitedContractSize: true,
}
},
solidity: {
version: '0.8.9',
debug: {
// How to treat revert (and require) reason strings. Settings are
// "default", "strip", "debug" and "verboseDebug".
// "default" does not inject compiler-generated revert strings and keeps user-supplied ones.
// "strip" removes all revert strings (if possible, i.e. if literals are used) keeping side-effects
// "debug" injects strings for compiler-generated internal reverts, implemented for ABI encoders V1 and V2 for now.
// "verboseDebug" even appends further information to user-supplied revert strings (not yet implemented)
revertStrings: 'default',
// revertStrings: 'debug',
},
},
mocha: {
timeout: 200000,
},
}