Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve remapped inputs in a Truffle/Foundry project #315

Closed
emo-eth opened this issue Dec 16, 2022 · 2 comments
Closed

Unable to resolve remapped inputs in a Truffle/Foundry project #315

emo-eth opened this issue Dec 16, 2022 · 2 comments

Comments

@emo-eth
Copy link

emo-eth commented Dec 16, 2022

foundry.toml

[profile.default]
src = 'contracts'
out = 'out'
libs = ['lib', 'node_modules']

remappings.txt.

@manifoldxyz/=node_modules/@manifoldxyz/
@openzeppelin/=node_modules/@openzeppelin/
ds-test/=lib/forge-std/lib/ds-test/src/
forge-std/=lib/forge-std/src/

Screenshot 2022-12-16 at 11 49 34 AM

This is on the main branch of royalty-registry-solidity after running forge init --force, modifying it to point at src = 'contracts' and libs = ['lib', 'node_modules'], and adding a remappings.txt.

@kanej
Copy link
Member

kanej commented Dec 19, 2022

@jameswenzel hey, I wasn't able to find a foundry/remappings.txt on the main branch of https://github.com/manifoldxyz/royalty-registry-solidity

Are these changes that haven't been pushed?

@emo-eth
Copy link
Author

emo-eth commented Dec 20, 2022

Yes, I added the remappings.txt myself using forge remappings > remappings.txt

However, it seems like this has been resolved in the meantime - possibly due to #308, which was merged around the time I opened this issue.

I'll reopen if I encounter again, thanks!

@emo-eth emo-eth closed this as completed Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants