Open ibrahimkhled opened 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
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