ethers.js
ethers.js copied to clipboard
deployTransaction property is undefined after contract deployment
When deploying a contract using ethers.js version 6.12.1 with Hardhat, the deployTransaction property is undefined on the contract instance immediately after deployment. The contract is successfully deployed to an address, but the expected deployTransaction property, which should contain the transaction details, is not present. This behavior occurs even when following the standard deployment process as per the ethers.js documentation. Steps to reproduce and a minimal deployment script are provided.