When I use my custom library
, Brownie complains that the library
is not deployed (UndeployedLibrary
). But why doesn't it complain about other library
files like the ones inside OpenZeppelin?
For example, in the image below, it doesn't throw any error for EnumerableSet
but it throws UndeployedLibrary
for Strings2Bytes32
that is written by myself.
I know that if I deploy the Strings2Bytes32
once is enough to get rid of the error, but I don't understand the difference between these two library
files.
- What is the difference between these two?
- Can I set up Brownie in a way that it treats my own
library
files like the ones inside OpenZeppelin?