You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem with using typechain's contract interfaces like upgradeProxy<ContractTypeFromTypechain>() - the types don't match because typechain is creating types based on the ethers' BaseContract type but OpenZeppelin's upgradeProxy and deployProxy are returning ethers' Contract type - these are not interchangeable.
Reference #46 (comment)
There is a problem with using typechain's contract interfaces like
upgradeProxy<ContractTypeFromTypechain>()
- the types don't match because typechain is creating types based on the ethers'BaseContract
type but OpenZeppelin'supgradeProxy
anddeployProxy
are returning ethers'Contract
type - these are not interchangeable.OpenZeppelin/openzeppelin-upgrades#535 would probably fix this issue but is not merged yet
The text was updated successfully, but these errors were encountered: