nomoixyz / vulcan

Development framework for Foundry projects
https://nomoixyz.github.io/vulcan/
MIT License
285 stars 19 forks source link

Add the `forge-std` version required to run vulcan #225

Open gnkz opened 1 year ago

gnkz commented 1 year ago

There is a problem when users have a different version of forge-std installed than the one that vulcan uses (see #224 ). We should add some info about the forge-std version required to work with vulcan in the installing instructions. Could be something as simple as In order to use vulcan forge-std@vx.y.z is required or adding the command required to install such version, like forge install foundry-rs/forge-std@vx.y.z

vdrg commented 1 year ago

Another option is to remove forge-std and use the version installed by vulcan, by pointing the remappings to lib/vulcan/lib/forge-std

marchev commented 1 year ago

Thanks a lot! Removing forge-std and installing the latest version did the trick 🔥

gnkz commented 11 months ago

added:

To reduce compatibility issues, vulcan utilizes a particular version of forge-std. To avoid such problems in your project, consider including the following in your remappings:
forge-std/=lib/vulcan/lib/forge-std/src/
vulcan/=lib/vulcan/src/

https://nomoixyz.github.io/vulcan/guide/installation.html