Tenderly / hardhat-tenderly

Tenderly plugin for HardHat
https://www.npmjs.com/package/@tenderly/hardhat-tenderly
Other
154 stars 40 forks source link

https://github.com/Tenderly/hardhat-tenderly/issues/166#issuecomment-2123887753const VotingLogic = await ethers.getContractFactory("VotingLogic"); #188

Open ibrahimkhled opened 3 months ago

ibrahimkhled commented 3 months ago
          const VotingLogic = await ethers.getContractFactory("VotingLogic");

let proxyContract = await upgrades.deployProxy(VotingLogic); proxyContract = await proxyContract.waitForDeployment();

const proxyAddress = await proxyContract.getAddress();

console.log("VotingLogic proxy deployed to:", proxyAddress); console.log( "VotingLogic impl deployed to:", await getImplementationAddress(ethers.provider, proxyAddress), );

Originally posted by @ibrahimkhled in https://github.com/Tenderly/hardhat-tenderly/issues/166#issuecomment-2123887753