Commit Graph

29 Commits

Author SHA1 Message Date
Jonathan Rainville a9e7ff2dc9 fix: add more information in debug about errors 2019-06-28 09:32:47 -04:00
Jonathan Rainville aa524893c9 add todo for when embark-solc is in the mono-repo 2019-06-17 14:07:43 -04:00
Jonathan Rainville 3b1f634919 fix: fix recursive error on Windows 2019-06-17 14:07:43 -04:00
Jonathan Rainville 4cea69443b fix(compiler): add missing event that outputs the result 2019-05-03 13:42:02 -04:00
Jonathan Rainville f127f024a6 improve clarity on og filename find 2019-04-09 09:00:59 -04:00
Jonathan Rainville 022b081339 fix(embark-solc): fix original filename not being the right one 2019-04-09 09:00:59 -04:00
emizzle c47d087e1d fix(@embark-solc): Fix unknown key “path” error
Compilation error `Unknown key “path”` was present when using Solidity 0.5.x. This PR removes the path property from the compilation sources as it is not needed.
2019-04-08 14:11:03 -04:00
emizzle a156120f23 feat(@embark/embark-solc): Support recursively remapping imports
Changes include:
- Before compilation, for each contract file being compiled, recursively remaps the contract's imports.
- Allowed directories for compilation updated based on the remapped import paths for the contract file.
- Support for code coverage flag.
- Fix for unhandled promise rejection when attempting to use an insufficient version of solc.
2019-04-08 14:00:42 -04:00
Jonathan Rainville ff07bb6b56 fix: add link references to compiled object 2019-04-08 14:00:42 -04:00
Jonathan Rainville 1be928a525 fix(compiler): fix hang when there is no error 2019-04-08 14:00:42 -04:00
Jonathan Rainville 4f256bde0d fix(compiler): fix outputBinary write file 2019-04-08 14:00:42 -04:00
Jonathan Rainville f83465c641 refactor(compiler): run only once with all files configured
Fixes #13
2019-04-08 14:00:42 -04:00
Jonathan Rainville 5f79db8020 fix(compiler): adds originalFileName to compiled object 2019-04-08 14:00:42 -04:00
Jonathan Rainville 0c5494b9ac review comment fixes 2019-04-08 14:00:42 -04:00
Jonathan Rainville ec1ce790de fix(compiler): fixes allowed paths and remappings
Fixes #9
Fixes the use of node_module and http urls
Makes sure to have all remappings before compiling
2019-04-08 14:00:42 -04:00
Jonathan Rainville 9052c64249 fix(compiler): display errors that before were not showing 2019-04-08 14:00:42 -04:00
Jonathan Rainville be406860d3 feat(solc): switch to standard JSON for remapping 2019-04-08 14:00:42 -04:00
Jonathan Rainville 1e02abf864 fix(embark-solc): stop embark when solc version too low
Fixes #8
2018-11-07 14:50:30 -05:00
Jonathan Rainville 011b344591 chore(embark-solc): add eslintrc and fix linting errors 2018-11-07 14:48:52 -05:00
Richard Ramos b0a798c466
Fix undefined in generated .bin file 2018-09-21 15:41:22 -04:00
Jonathan Rainville eb0c51fe30 do not exit on not installed 2018-09-12 09:38:03 -04:00
Richard Ramos f852bf3da0 Added duplicated contract warning 2018-07-24 13:37:59 -04:00
Richard Ramos 98890beb46 Filtering duplicated contracts dirs 2018-07-24 12:05:42 -04:00
Richard Ramos 21d65e8f8c Add directory list to list of allowed paths 2018-07-24 11:56:35 -04:00
Richard Ramos 3f69a5c2e4 Changes based on code review 2018-07-24 10:12:36 -04:00
Richard Ramos 31b2cfc7f6 Writing .bin after output is complete 2018-07-24 10:12:36 -04:00
Richard Ramos 34b053c8cf Can specify "outputBinary" config to gen a .bin file of contract 2018-07-24 10:12:36 -04:00
Richard Ramos 3da50e6104 Detecting if solc is installed 2018-05-30 15:52:42 -04:00
Richard Ramos e2a076df12 Initial version of solc plugin 2018-05-26 12:31:46 -04:00