Skip to content

Commit

Permalink
chore: add parameter gaslimit when deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
lingcoder committed Aug 8, 2024
1 parent ab2e147 commit 55e9465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"no-undef": "error",
"no-use-before-define": "off",
"no-var": "error",
"object-curly-spacing": ["error", "always"],
"object-curly-spacing": "off",
"prefer-const": "error",
"quotes": "off",
"semi": ["error", "always"],
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ async function main() {

const instance = await ethers.deployContract("Greeter", [], {
value: ethValue,
gasLimit: BigInt("2500000"),
});

await instance.waitForDeployment();

const timeWait = 15;
Expand Down

0 comments on commit 55e9465

Please sign in to comment.