Skip to content

Commit

Permalink
Add treasury address reference to Acre deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuba committed Jan 5, 2024
1 parent f009b3c commit a9945a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/deploy/01_deploy_acre.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import type { DeployFunction } from "hardhat-deploy/types"

const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
const { getNamedAccounts, deployments } = hre
const { deployer } = await getNamedAccounts()
const { deployer, treasury } = await getNamedAccounts()

const tbtc = await deployments.get("TBTC")

await deployments.deploy("Acre", {
from: deployer,
args: [tbtc.address],
args: [tbtc.address, treasury],
log: true,
waitConfirmations: 1,
})
Expand Down

0 comments on commit a9945a8

Please sign in to comment.