Skip to content

Commit 4a4cfef

Browse files
committedJun 12, 2022
Log additional relevant info in deploy script
1 parent 1a3e559 commit 4a4cfef

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎scripts/deploy.js

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@ require("dotenv").config()
33
async function main() {
44
const [deployer] = await ethers.getSigners()
55

6+
const MULTISIG_ADDRESS = process.env.MULTISIG_ADDRESS
7+
const MAX_DONATION_GRACE_PERIOD = process.env.MAX_DONATION_GRACE_PERIOD
8+
69
console.log("Deploying contracts with the account:", deployer.address)
710
console.log("Account balance:", (await deployer.getBalance()).toString())
811

12+
console.log("Multisig address:", MULTISIG_ADDRESS)
13+
console.log("Maximum donation grace period (in blocks):", MAX_DONATION_GRACE_PERIOD)
14+
915
const DisintermediatedGrants = await ethers.getContractFactory("DisintermediatedGrants")
10-
const disintermediatedGrants = await DisintermediatedGrants.deploy(
11-
process.env.MULTISIG_ADDRESS,
12-
process.env.MAX_DONATION_GRACE_PERIOD
13-
)
16+
const disintermediatedGrants = await DisintermediatedGrants.deploy(MULTISIG_ADDRESS, MAX_DONATION_GRACE_PERIOD)
1417

1518
console.log("DisintermediatedGrants address:", disintermediatedGrants.address)
1619
}

0 commit comments

Comments
 (0)