Verifying Libraries Exposes Local Path
See original GitHub issueThe settings portion of the verification exposes full local path to etherscan/bscscan. Below is an example. I would prefer for this not to happen, is there a way around this when using libraries? The specific issue I have is with this string “/Users/MYUSERNAME/MYLOCALPATHNAME/contract.sol” being exposed publicly.
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", ** "libraries": { "/Users/MYUSERNAME/MYLOCALPATHNAME/contract.sol": { "libraryName": "0xLibraryAddress" }** }, }
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Find out if library is in path - Unix & Linux Stack Exchange
You could use ldd <binary> to check if all libraries linked are in the path. Maybe there is a more elegant way. –...
Read more >Defining libraries for local projects and files - IBM
You can define local or remote libraries that can be used for real-time syntax checking and open file operations in local COBOL, PL/I,...
Read more >How to specify preference of library path? - c++ - Stack Overflow
I have a .so library I want to be used during linking. However, a library of the same name exists in /usr/local/lib , ......
Read more >linux - Can't find .so in the same directory as the executable?
The (colon-separated) paths in the environment variable LD_LIBRARY_PATH , unless the executable is a setuid / setgid binary, in which case it is ......
Read more >How versioning works in lists and libraries - Microsoft Support
When versioning is enabled in a list or library, you can store, track, and restore items in a list and files in a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is a good point, and it should be possible to fix this. I’ll need to find the time to figure that out though.
Can’t debug this without a reproduction repo, so I’m closing this. Feel free to re-open with more info in the future.