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
I assume the visibility warnings are there to get developers thinking more about function visibilities to prevent future multi-sig-like hacks, etc.
Should there be one for constructor functions though? I'm getting No visibility specified warnings in remix using v0.4.17+commit.bdeb9e52.js for all of my constructor functions. I assume they can't be run more than once -- at deploy time and just searched the docs in case they can be, but didn't find anything.
The text was updated successfully, but these errors were encountered:
Just found out the hard way that various deployment options will throw unrelated errors if constructor functions are marked internal. So perhaps the warning should say that? Will look in the source to see if this is a simple string change.
I assume the visibility warnings are there to get developers thinking more about function visibilities to prevent future multi-sig-like hacks, etc.
Should there be one for constructor functions though? I'm getting
No visibility specified
warnings in remix usingv0.4.17+commit.bdeb9e52.js
for all of my constructor functions. I assume they can't be run more than once -- at deploy time and just searched the docs in case they can be, but didn't find anything.The text was updated successfully, but these errors were encountered: