safe-global / safe-smart-account

Safe allows secure management of blockchain assets.
https://safe.global
GNU Lesser General Public License v3.0
1.86k stars 914 forks source link

Add solc package #22

Closed Georgi87 closed 6 years ago

Georgi87 commented 6 years ago

The package.json does not list “solc” package, although it is required to run “truffle test”

danfinlay commented 6 years ago

I wasn't able to build for a while b/c my solidity was too new, so the workaround was:

npm uninstall -g truffle && npm install -g truffle@byoc

And then adding these lines to truffle.js:

module.exports = {
  ...
  compiler: {
    solc: "0.4.19"
  }
  ...
}

Then running npm i again, and I was able to truffle compile fine.

DashaBochkar commented 1 week ago

The package.json does not list “solc” package, although it is required to run “truffle test”