This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert "Remove custom compiling process with solc (#570)" This reverts commit 1b149aa. * Swap out DependenciesFinder with resolver-engine Instead of manually looking for dependencies, rely on resolver-engine to handle that for us (which we are already using via the flattener). We are also collecting all dependencies in advance, instead of relying on the callback, for two reasons: - The resolver interface is async, and the callback is sync - This allows us to then swap out solc-js for a native or docker compiler * Add compile command * Check if recompile is needed and fix tests * Update project and contract compiler models * Use solidity-parser-antlr for fetching import directives * Fix truffle binary lookup * Generate deployed sourcemap and better logging * Test and fixes for compile command Also fixes errors thrown in itShouldParse tests * Add support for local binary solc * Use solc list from cache even if expired if download fails * Add missing contract dependency to test * Recompile if compiler settings change * Fix truffle findUp * Fix compile promise await * Manage compiler config from zos.json * Lint! * Apply suggestions from code review * Lint and fix rebase issues * Remove option to compile with truffle from command line * Use async versions instead of sync * Remove unused CompilerConfig file * Force using zos compiler when running zos compile * IsTruffleProject is determined by config file only Truffle binary could be installed globally. * Fix compiler test IsLocalContract check from getContractNames depends on an absolute path, which makes GreeterImpl to be returned only in the machine where it was compiled.
- Loading branch information