Getting transaction hash from upgradeProxy in const { upgradeProxy } = require("@openzeppelin/truffle-upgrades");

I've been trying to get the transaction hash when proxies are deployed. This is quite difficult it seems and i've been reading into the type script written libraries but no luck.

Any way i can access the transaction hashes or the 3 deployed contracts (admin, implementation, proxy) from

  const contractV2 = await upgradeProxy(
    contractV1.address,
    ContractV2
  );

:1234: Code to reproduce


:computer: Environment

Sorry this isn't possible in the Truffle plugin. Is there a place you would've expected to find the transaction hash? Feel free to open an issue in the repo. https://github.com/OpenZeppelin/openzeppelin-upgrades