github拉下的代碼,在運行編譯腳本的時候會報solc錯誤,
具體錯誤是,solc cant --combin-json 參數(shù)
多方查找,報這個問題的原因是solidty升級后,這個參數(shù)已經(jīng)棄用,解決辦法是solc降級。
solc 降級方案:pip3 安裝solc-selcetor
具體參考如下:
https://github.com/crytic/solc-select
github拉下的代碼,在運行編譯腳本的時候會報solc錯誤,
具體錯誤是,solc cant --combin-json 參數(shù)
多方查找,報這個問題的原因是solidty升級后,這個參數(shù)已經(jīng)棄用,解決辦法是solc降級。
solc 降級方案:pip3 安裝solc-selcetor
具體參考如下:
https://github.com/crytic/solc-select