Skip to content

Commit

Permalink
Update comment for a workaround to link tracking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jagodarybacka committed Jan 23, 2024
1 parent 5e1fda0 commit e077028
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/upgrades.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ async function upgradeProxy<T extends Contract>(
// This is a workaround to get the deployment transaction. The upgradeProxy attaches
// the deployment transaction to the field under a different name than ethers
// contract.deploymentTransaction() function expects.
// TODO: Remove this workaround once the issue is fixed on the OpenZeppelin side.
// Tracked in: https://github.com/keep-network/hardhat-helpers/issues/49
const deploymentTransaction =
newContractInstance.deployTransaction as unknown as ContractTransactionResponse

Expand Down

0 comments on commit e077028

Please sign in to comment.