No funded issue found.
Check out the Issue Explorer
Be the OSS Funding you wish to see in the world.
Looking to fund some work? You can submit a new Funded Issue here .
Time left
Opened
Issue Type
Workers Auto Approve
Project Type
Time Commitment
Experience Level
Permissions
Accepted
Reserved For
Imports can't always be resolved
b-mueller
Sabre isn't always able to resolve imports. Apparently, imports can be either relative to the path of the importing file or the current working directory. Also, solc has an "allow-paths" argument which further complicates things.
For example, in [this project](https://github.com/agreements-network/blackstone/tree/develop/contracts/src), there is no way of getting imports working:
```
$ sabre agreements/ActiveAgreement.sol
✔ Compiled with solc v0.4.25 successfully
ActiveAgreement.sol:3:1: ParserError: Source "commons-collections/DataStorage.sol" not found: File import callback not supported
import "commons-collections/DataStorage.sol";
^-------------------------------------------^
ActiveAgreement.sol:4:1: ParserError: Source "commons-collections/AddressScopes.sol" not found: File import callback not supported
import "commons-collections/AddressScopes.sol";
^---------------------------------------------^
ActiveAgreement.sol:5:1: ParserError: Source "commons-events/EventEmitter.sol" not found: File import callback not supported
import "commons-events/EventEmitter.sol";
^---------------------------------------^
ActiveAgreement.sol:6:1: ParserError: Source "documents-commons/Signable.sol" not found: File import callback not supported
import "documents-commons/Signable.sol";
^--------------------------------------^
ActiveAgreement.sol:7:1: ParserError: Source "commons-management/VersionedArtifact.sol" not found: File import callback not supported
import "commons-management/VersionedArtifact.sol";
^------------------------------------------------^
ActiveAgreement.sol:9:1: ParserError: Source "agreements/Agreements.sol" not found: File import callback not supported
import "agreements/Agreements.sol";
^---------------------------------^
```
This can only be addressed comprehensively by researching the exact imports resolution logic used by solc and setting up a number of test scenarios to verify that all cases are accounted for.
Setup your profile
Tell us a little about you:
Skills
No results found for [[search]] .
Type to search skills..
Bio Required
[[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Next
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Back
Next
Save
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email:
Email
Back
Save