-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Compilation with SMTChecker
fails
#2132
Comments
@elenadimitrova are you able to successfully compile your contracts using the custom
Edit: See item 9. |
Yes indeed. I logged it separately, see above. It'll be nice that we actually get the compiler internal output on error with |
Ping - has there been any update to this - would be great if it was straight forward as in truffle config the solc.version could accept something like |
I'm not sure there has been any activity on this yet. Are you saying you want to configure your own version of solc? You can indeed do that kind of thing - you can specify a path to a local solc, a docker image, whaterver solc is installed natively, or any version you can find when doing |
ya - something like that - like so that truffle could compile with the version of solidity that was built with smt checking enabled will check that doc - |
Issue
Compilation with
SMTChecker
fails withInternalCompilerError
Steps to Reproduce
Build custom
solc
with Z3 supportNote that installing Z3 for me wasn't exactly straight forward, so I've recorded the steps in point 1 here Add SMTChecker to nightly build JoinColony/colonyNetwork#547
Switch the
truffle
compiler to use thispragma experimental "SMTChecker";
to a single contract.truffle compile
Expected Behavior
Contract compiles successfully
Actual Results
Environment
ganache-cli
truffle version
): 5.0.18node --version
): 10.12.0npm --version
): 6.4.1The text was updated successfully, but these errors were encountered: