Closed vbaranov closed 5 years ago
Problem: version of solc compiler, that compiles Proxy smart-contracts, is hardcoded now
solc
Solution: We could extract the version of compiler from parsing ./node_modules/.bin/truffle version response:
./node_modules/.bin/truffle version
Truffle v4.1.14 (core: 4.1.14) Solidity v0.4.24 (solc-js)
from the corresponding submodule's folder for Minted capped: ./submodules/auth-os-applications/TokenWizard/crowdsale/MintedCappedCrowdsale for Dutch Auction: ./submodules/auth-os-applications/TokenWizard/crowdsale/DutchCrowdsale
./submodules/auth-os-applications/TokenWizard/crowdsale/MintedCappedCrowdsale
./submodules/auth-os-applications/TokenWizard/crowdsale/DutchCrowdsale
Problem: version of
solc
compiler, that compiles Proxy smart-contracts, is hardcoded nowSolution: We could extract the version of compiler from parsing
./node_modules/.bin/truffle version
response:from the corresponding submodule's folder for Minted capped:
./submodules/auth-os-applications/TokenWizard/crowdsale/MintedCappedCrowdsale
for Dutch Auction:./submodules/auth-os-applications/TokenWizard/crowdsale/DutchCrowdsale