Skip to content

Commit

Permalink
Fix deployment scripts
Browse files Browse the repository at this point in the history
Since the `Acre` contract inherits from `Ownable` contract from OZ lib
we need to pass `initialOwner` to the Acre contract constructor.
  • Loading branch information
r-czajkowski committed Dec 8, 2023
1 parent 4a1de54 commit afc2323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/deploy/01_deploy_acre.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {

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

0 comments on commit afc2323

Please sign in to comment.