Skip to content

Commit 93c8d9e

Browse files
authored
Explicitly configure localhost network gas settings (#38)
1 parent d0c013c commit 93c8d9e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hardhat.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ const config: HardhatUserConfig = {
3737
},
3838
localhost: {
3939
url: "http://127.0.0.1:8545",
40+
gas: 12000000,
41+
blockGasLimit: 12000000,
4042
},
4143
kovan: {
4244
url: "https://kovan.infura.io/v3/" + process.env.INFURA_TOKEN,
@@ -66,4 +68,4 @@ function getHardhatPrivateKeys() {
6668
});
6769
}
6870

69-
export default config;
71+
export default config;

0 commit comments

Comments
 (0)