crytic / solc-select

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

install matches more versions than it should #142

Closed 0xalpharush closed 1 year ago

0xalpharush commented 1 year ago

solc-select use 0.8.17 --always-install Installing '0.8.17'... Version '0.8.17' installed. Installing '0.8.1'... Version '0.8.1' installed. Switched global version to 0.8.17 This line is wrong https://github.com/crytic/solc-select/blob/7b493c684aece2dc3e4f233fe044f23c1606be95/solc_select/solc_select.py#L77

elopez commented 1 year ago

Hi @0xalpharush, I tried and could not reproduce this here:

$ rm ~/.solc-select -rf
$ solc-select use 0.8.17 --always-install

Installing '0.8.17'...
Version '0.8.17' installed.
Switched global version to 0.8.17

I believe we fixed this some time ago: https://github.com/crytic/solc-select/pull/96

0xalpharush commented 1 year ago

I must have not updated. Thanks!