Skip to content

Commit 55e9465

Browse files
committed
chore: add parameter gaslimit when deploy
1 parent ab2e147 commit 55e9465

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"no-undef": "error",
4444
"no-use-before-define": "off",
4545
"no-var": "error",
46-
"object-curly-spacing": ["error", "always"],
46+
"object-curly-spacing": "off",
4747
"prefer-const": "error",
4848
"quotes": "off",
4949
"semi": ["error", "always"],

scripts/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ async function main() {
55

66
const instance = await ethers.deployContract("Greeter", [], {
77
value: ethValue,
8+
gasLimit: BigInt("2500000"),
89
});
9-
1010
await instance.waitForDeployment();
1111

1212
const timeWait = 15;

0 commit comments

Comments
 (0)