Skip to content

Commit

Permalink
fix: add initializeFrom call to the managing DAO proposal (#395)
Browse files Browse the repository at this point in the history
* fix: add initializeFrom call to the managing DAO proposal

* fix: empty data
  • Loading branch information
heueristik authored Jun 1, 2023
1 parent 9f8eb36 commit 440850c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/contracts/deploy/update/to_v1.3.0/99_ManagingDAO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
managingDAOAddress,
hre.ethers.provider
);
const upgradeTX = await daoInterface.populateTransaction.upgradeTo(
daoImplementation
const upgradeTX = await daoInterface.populateTransaction.upgradeToAndCall(
daoImplementation,
daoInterface.interface.encodeFunctionData('initializeFrom', [[1, 0, 0], ''])
);

if (!upgradeTX.to || !upgradeTX.data) {
Expand Down

0 comments on commit 440850c

Please sign in to comment.