Skip to content

Commit

Permalink
resolving linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangel90 committed Nov 30, 2024
1 parent 0df051c commit 7d309c3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/hardhat/deploy/00_deploy_your_contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ const deployYourContract: DeployFunction = async function (hre: HardhatRuntimeEn
await deploy("Lottery", {
from: deployer,
// Contract constructor arguments
args: [
"Group7LotteryToken",
"G7T",
10000n,
parseEther('0.0001'),
parseEther("0.00002")
],
args: ["Group7LotteryToken", "G7T", 10000n, parseEther('0.0001'), parseEther("0.00002")],

Check warning on line 29 in packages/hardhat/deploy/00_deploy_your_contract.ts

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, lts/*)

Replace `'0.0001'` with `"0.0001"`
log: true,
// autoMine: can be passed to the deploy function to make the deployment process faster on local networks by
// automatically mining the contract deployment transaction. There is no effect on live networks.
Expand All @@ -41,7 +35,7 @@ const deployYourContract: DeployFunction = async function (hre: HardhatRuntimeEn

// Get the deployed contract to interact with it after deploying.
const lotteryContract = await hre.ethers.getContract<Contract>("Lottery", deployer);
console.log("Lottery Contract address:", await lotteryContract.getAddress())
console.log("Lottery Contract address:", await lotteryContract.getAddress());
console.log("Lottery Token address:", await lotteryContract.paymentToken());
};

Expand Down

0 comments on commit 7d309c3

Please sign in to comment.