crytic / solc-select

Manage and switch between Solidity compiler versions
GNU Affero General Public License v3.0
758 stars 103 forks source link

Fix multiple installations with `solc-select use` + `--always-install` #96

Closed elopez closed 2 years ago

elopez commented 2 years ago

A single version string was passed to install_artifacts instead of a version list. This caused install_artifacts to install other versions contained in the requested version (e.g. 0.4.2 was installed as well when 0.4.25 was requested). Call the installation function with a list as intended, so that the correct version and that version only is installed now.

Test case:

Fixes: #95