ethers.js icon indicating copy to clipboard operation
ethers.js copied to clipboard

deployTransaction property is undefined after contract deployment

Open devin-ai-integration[bot] opened this issue 9 months ago • 2 comments

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.