Closed elenadimitrova closed 5 years ago
Event after adding the configuration options in a truffle-security.json
, compilation fails with same exit code 1
Surprisingly only after disabling docker in truffle.js
does it compile the contracts. Maybe related to https://github.com/ConsenSys/truffle-security/issues/145?
@elenadimitrova thanks for investigating issue. I'll take a look at it!
@elenadimitrova I've ran truffle run verify
with docker enabled and disabled and I don't have any problem. truffle-security.json
file is optional. I'm sorry for misleading message. We'll improve it :)
We have also put a new release 1.3.4
. Please try it and let us know if release fixes issues
@daniyarchambylov with 1.3.4
it compiles successfully but it still emits the error:
truffle-security.json either not found or improperly formatted.
expected to find truffle-security.json in: /Users/Elena/colonyNetwork
⠋ Fetching solc version list from solc-bin⠋ Fetching solc version list from solc-bin⠋ Fetching solc version list from solc-bin⠋ Fetching solc version list from sol⠏ Downloading compilerCompiling ./contracts/IReputationMiningCycle.sol...
with dependencies:
...
Thanks @elenadimitrova! There is #176 open to remove error message.
If this is still an issue, feel free to reopen the issue with more details.
The documentation states that
but it doesn't seem mandatory, yet when I run
truffle run verify --debug=2
it produces the following error:This could be an issue with the
--debug
flag in particular but without it I just gettruffle run verify --version
output