trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.02k stars 2.31k forks source link

Specify configured `solc` version in `truffle version` output #1516

Closed gnidan closed 5 years ago

gnidan commented 5 years ago

Last minute issue, TBD if it's a blocker for release.

I've been seeing a lot of confusion about the Solidity version info when running truffle version.

We should display the version of Solidity that will actually be invoked, so as to avoid displaying confusing info.

gnidan commented 5 years ago

Compromise solution:

If the user has a version constraint specified for BYOC, show the constraint

Otherwise, show the built-in