Change src
to contracts
#655
Closed
andreivladbrg
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Interesting idea but I am tentatively against it. The production contracts directory is named "contracts" in OpenZeppelin and Uniswap and other projects due to historical reasons, namely, this was the name of the default directory structure generated by Truffle and Hardhat. Foundry switched to I also think this is a case of "de minimis" - we have other, more important issues to think about. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the latest npm packages release for
v2-core
andv2-periphery
we addressed an issue faced by our integrators when importing@prb/math
inv2-core
and@prb/proxy
inv2-periphery
.We fixed it by removing
src
in the remappings file:v2-core/remappings.txt
Line 2 in 4567440
https://github.com/sablier-labs/v2-periphery/blob/7283580fadc2a7a1677b3dd53f3d76b0ff967fdd/remappings.txt#L2
The question I want to ask is: would it have been better if we had changed the
src
dir tocontracts
?Ofc, the
foundry.toml
would need to be updated accordingly:src = "contracts"
Beta Was this translation helpful? Give feedback.
All reactions