Closed sergio-27 closed 3 months ago
hey, unfortunately that is not present in the official release on npm. After some discussions with the OZ team, they said that the mocks should not be used and they are present just on github and not on the official release so that people don't use them in production.
If you really want to use them you can use the git way of installing this, something like:
forge soldeer install @openzeppelin-mocks~5.0.2 https://github.com/OpenZeppelin/openzeppelin-contracts.git
And now you have a specific oz version from git that has the mocks that can be used only for testing
Okey, make sense, its just what i did, thanks for replying!!
Hi, is it posible that the folder mocks is not in the openzeppelin contracts repo from soldeer?? It appears in the original repository from openzeppelin but not in the openzeppelin libraries from soldeer.
This two images are from the source code from soldeer
And this is the original repo of openzeppelin contracts.