question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Verifying Libraries Exposes Local Path

See original GitHub issue

The 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:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rkaliscommented, Aug 24, 2021

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.

0reactions
rkaliscommented, Dec 15, 2021

Can’t debug this without a reproduction repo, so I’m closing this. Feel free to re-open with more info in the future.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found