new Contract() complains if address is an Addressable type #4538
Labels
enhancement
New feature or improvement.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
minor-bump
Planned for the next minor version bump.
v6
Issues regarding v6
Ethers Version
6.9.2
Search Terms
contract
Describe the Problem
const factory = new ContractFactory(...)
const contract = await factory.deploy()
const anotherContract = new Contract(contract.target, abi, wallet) ==> should not complain contract.target is not a string.
Code Snippet
No response
Contract ABI
No response
Errors
No response
Environment
No response
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: