1

If I replace all the library functions' visibility to either external or public, I will have to deploy the libraries separately first, and then explicitly link them in the contract which is using them. When I do that, the contract size becomes bigger, instead of smaller. What am I doing wrong?

EDIT:

I'm assuming this is because the library I am using includes some functions with some params which have storage data location?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.