Skip to content

Question about trailing src/ in remapping #676

Closed Answered by PaulRBerg
NIC619 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @NIC619, thank you for your question.

under what circumstances will the problem manifest itself?

I honestly can't remember off the top of my head, but it was related to a VSCode extension that wasn't able to parse the remappings in foundry.toml.

Generally, the issue is that some tools except the remappings to be defined in remappings.txt, and not anywhere else.

But if you haven't bumped into any issues yet, then it seems to be a reasonable option to keep your remappings in foundry.toml.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@PaulRBerg
Comment options

@NIC619
Comment options

@PaulRBerg
Comment options

@NIC619
Comment options

Answer selected by NIC619
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants