New answers tagged

0

That course is outdated you can ask for a refund. But I really recommend you not to do that, instead update your own code. Your problem is maybe because you may installed the new solc in your directory package which is not compatible with the old version of solidity, hence it is not working with your old JavaScript code. I have the updated code for pragma ...


1

I found useful this solc version switcher tool https://github.com/crytic/solc-select. My experience to configure it: docker pull trailofbits/solc-select manually add https://raw.githubusercontent.com/crytic/solc-select/master/bin/solc to any location add permissions to execute the script to the owner chmod u+x ... add location from 2. to .bash_profile Now ...


0

It was because I was using the wrong syntax in truffle config and I did not have the optimiser enabled :) Buidler config and Truffle config use different syntax for their solc settings.


Top 50 recent answers are included