From 04421f50508b884bb670e495b1d42981f1fd6c38 Mon Sep 17 00:00:00 2001 From: Rohan Shrothrium Date: Thu, 21 Sep 2023 22:36:32 +0530 Subject: [PATCH] ownership transfer does not have deployer Signed-off-by: Rohan Shrothrium --- deployment/3_deployContracts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployment/3_deployContracts.js b/deployment/3_deployContracts.js index b6a3892f1..070fecc3d 100644 --- a/deployment/3_deployContracts.js +++ b/deployment/3_deployContracts.js @@ -544,7 +544,8 @@ async function main() { ); // Transfer ownership of the proxyAdmin to timelock - await upgrades.admin.transferProxyAdminOwnership(timelockContract.address); + const proxyAdminContract = proxyAdminFactory.attach(proxyAdminAddress); + await (await proxyAdminContract.transferOwnership(timelockContract.address)).wait(); } if (committeeTimelock) {