You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
Currently we overwrite truffle's solidity compilation process and run truffle-compile internally within oasis-compile so that we can mark the outputs confidential. This ignores the solc settings inside of truffle-confg.js.
A better solution would be to, instead, let the default truffle-solidity-compiler do its compilation, and then we read that output from build/contracts and then transform that output into confidential contracts.
However, we can't do this in truffle, as is. Specifically truffle processes all its "compilers", i.e., solc, external, and vyper, aynschronously. As a result, if we try the suggested solution above, we will read the build directory before the solc is done (since the external compiler will start concurrently).
As a result, the proposed solution above, probably requires a change to truffle.
The text was updated successfully, but these errors were encountered:
armaniferrante
changed the title
Replace solidity-compile with truffle's solc
Replace solidity-compile with truffle's solc config
Nov 13, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently we overwrite truffle's solidity compilation process and run
truffle-compile
internally withinoasis-compile
so that we can mark the outputs confidential. This ignores the solc settings inside oftruffle-confg.js
.A better solution would be to, instead, let the default truffle-solidity-compiler do its compilation, and then we read that output from
build/contracts
and then transform that output into confidential contracts.However, we can't do this in
truffle
, as is. Specifically truffle processes all its "compilers", i.e., solc, external, and vyper, aynschronously. As a result, if we try the suggested solution above, we will read the build directory before the solc is done (since the external compiler will start concurrently).As a result, the proposed solution above, probably requires a change to truffle.
The text was updated successfully, but these errors were encountered: