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
{{ message }}
This repository was archived by the owner on Jan 24, 2022. It is now read-only.
I have a contract that I intend to deploy as upgradeable using the OZ CLI as well as with oz capable factories I've written.
When I deploy the using oz deploy -n development and I choose regular. It correctly deploys the contract and links the library associated.
However, when I run the same deployment using upgradeable OZ decides to remove the library contract but it correctly deploys the contract.
If however, I try to deploy the contract before running a "regular" deployment. It fails with "ContractFactroy deployment failed with error: The data field must be HEX encoded data."
No idea why or how this is the case. But it seems to me that OZ does not know how to deploy Solidity Library contracts if they have never been deployed before on a "regular" contract
I am not sure if this is a known bug or not, but I will try to create a minimalist repo to demonstrate the issue.