Commit Graph

3152 Commits

Author SHA1 Message Date
Jonathan Rainville c1540dc2ea add comments in blockchain configs 2018-06-18 15:40:06 -04:00
Jonathan Rainville 3d9a006ecc update tests in templates 2018-06-18 15:15:24 -04:00
Iuri Matias c25bf086f9
Merge pull request #552 from embark-framework/bug_fix/default-account
Register web3 object after init
2018-06-18 14:42:41 -04:00
Jonathan Rainville ed1ac3af2e register web3 after init 2018-06-18 14:33:25 -04:00
Iuri Matias 49d58b5d1e
Merge pull request #551 from embark-framework/fix_from
put defaultAccount as the default contract from
2018-06-18 14:23:52 -04:00
Iuri Matias 59b2d809f1 put defaultAccount as the default contract from 2018-06-18 14:02:02 -04:00
Iuri Matias 8ad79b63b0
Merge pull request #549 from embark-framework/readd_mocha
re-add mocha to dependencies
2018-06-18 13:24:22 -04:00
Iuri Matias 1f49c71850 re-add mocha to dependencies 2018-06-18 13:18:54 -04:00
Iuri Matias ce8e333685
Merge pull request #548 from embark-framework/warn_about_embark_spec
warn about EmbarkSpec deprecation
2018-06-18 12:54:41 -04:00
Iuri Matias 329af9f348 warn about EmbarkSpec deprecation 2018-06-18 12:46:39 -04:00
Iuri Matias b7d6bc1c45
Merge pull request #547 from embark-framework/contracts_api_fix
Contracts api fix
2018-06-18 11:38:27 -04:00
Iuri Matias a0a2d16cb3
Merge pull request #546 from embark-framework/fix_contract_tracking_issue
fix contract tracking issue
2018-06-18 11:38:16 -04:00
Iuri Matias 7bf1f2420f
Merge pull request #545 from embark-framework/debug_options
add debug option correctly
2018-06-18 11:37:48 -04:00
Iuri Matias 231e48cecb add todo 2018-06-18 11:37:23 -04:00
Iuri Matias e615354fac
Merge pull request #544 from embark-framework/provider-package
use new npm package instead of fork
2018-06-18 11:36:24 -04:00
Iuri Matias b34ddf32cf refactor pluginPath 2018-06-18 11:27:29 -04:00
Iuri Matias e0e3887aaf add command event to add a contract file; fix internal plugin Path 2018-06-18 11:25:43 -04:00
Iuri Matias 5c6e6e50f9 use contractAddress instead of address 2018-06-18 10:22:04 -04:00
Iuri Matias 76ab330546 add debug option 2018-06-18 09:44:16 -04:00
Jonathan Rainville a988962aed change package name 2018-06-18 09:26:17 -04:00
Jonathan Rainville f517cc104f use new npm package instead of fork 2018-06-18 09:13:09 -04:00
Iuri Matias f9e62b9f49
Merge pull request #543 from embark-framework/feature/run-ipfs-init
Run `ipfs init` for the case when user has installed ipfs, but not initialised it.
2018-06-18 08:57:15 -04:00
emizzle bb4fdbe369 Run `ipfs init` for the case when user has installed ipfs, but not initialised it.
Runs `ipfs daemon` first, reads stdout for message regarding ipfs not initialised, then runs `ipfs init`, then re-runs `ipfs daemon`.
2018-06-18 22:34:42 +10:00
Iuri Matias 7706e276bf
Merge pull request #533 from embark-framework/bug_fix/ipfs-service-check-error
Storage provider initialisation fixes and improvements.
2018-06-15 18:09:30 -04:00
Iuri Matias 37ab60d6de
Merge pull request #538 from embark-framework/features/ws-node
Enable connection to websocket node
2018-06-15 18:01:12 -04:00
Iuri Matias b62c9dcd38
Merge pull request #532 from embark-framework/bug_fix/contract-breaks-pipeline
Fix for starting embark with a contract that has an error, then fixing, seems to still break the pipeline
2018-06-15 17:50:02 -04:00
Iuri Matias 4beb320385 fix package lock 2018-06-15 17:45:08 -04:00
Iuri Matias c9ad938c9a fix package lock 2018-06-15 17:43:25 -04:00
Iuri Matias 1766401583 remove duplicated require 2018-06-15 17:33:26 -04:00
emizzle 15faf3a336 Fix for starting embark with a contract that has an error, then fixing, seems to still break the pipeline.
Needed to reset the `compileError` flag once compilation succeeded.
2018-06-15 17:31:17 -04:00
Iuri Matias 1acea7b178 lock version to avoid suprises 2018-06-15 17:31:17 -04:00
Iuri Matias b0daf96865 use neo-blessed 2018-06-15 17:31:17 -04:00
Eric Mastro 286848030c package-lock conflict 2018-06-15 17:31:17 -04:00
Iuri Matias 043ac87d80 use neo-blessed 2018-06-15 17:29:19 -04:00
Iuri Matias 5614998f89
Merge pull request #525 from embark-framework/bug_fix/solc-loading-issue
Fix for solc loading issue
2018-06-15 17:28:53 -04:00
Iuri Matias 440593f9f0
Merge pull request #539 from embark-framework/bug_fix/simple-app-watch
fix watch for simple apps
2018-06-15 17:24:55 -04:00
Iuri Matias 6b11fb9e45
Merge pull request #540 from embark-framework/profilerErrorLogFix
small fixes to ensure something of a better experience for error reports
2018-06-15 17:24:35 -04:00
Iuri Matias 6845c7124b fix eqls 2018-06-15 17:24:19 -04:00
emizzle ffe0157543 removed unneeded comment 2018-06-15 17:06:59 -04:00
emizzle 279e63e3d8 package-lock conflict fix 2018-06-15 17:06:59 -04:00
emizzle 79ca004de6 remove .vscode launch tasks and fix package-lock conflict. 2018-06-15 17:06:59 -04:00
emizzle a100dd4260 Requested PR fixes
Added catch to live-plugin-manager install promise running in child process

Removed some `else`'s ;)

Only showing solc downloading spinner when `--nodashboard` option is used.

When installing package in main process and simultaneous downloads fail, all callbacks called with error.

Updated logging in npmTimer.
2018-06-15 17:06:59 -04:00
Eric Mastro 4604ac2aa2 Remove .vscode launch config 2018-06-15 17:06:59 -04:00
emizzle 5e20f27c99 Solc loading issue now fully resolved
Added better error checking for solidity compilation errors

Extracted timer functionality for downloading packages so it works across the main process and child processes.

Npm class is instantiated only once and reused for event commands.

Npm class can handle concurrent requests for the same package and callback the installation result for each request.
2018-06-15 17:06:59 -04:00
Eric Mastro 6033617f5c package-lock conflict 2018-06-15 17:06:59 -04:00
emizzle 6d6c398a6d Finally fixed the solc loading issue.
Moved the instantiation of the live-plugin-manager in to the child solc process. This allowed us to use the live-plugin-manager to require the installed solc file.

If the module is the same version as used by embark, the module is still loading using the normal require (from node_modules), as before.
2018-06-15 17:06:59 -04:00
Iuri Matias 49b15d020e lock version to avoid suprises 2018-06-15 17:06:59 -04:00
Iuri Matias 16cb513e34 use neo-blessed 2018-06-15 17:06:59 -04:00
Iuri Matias 4100ab87e0 update references to package 2018-06-15 17:06:59 -04:00
Iuri Matias 6730322784 point to a forked npm package (for now), to avoid the npm install issues some users are reporting 2018-06-15 17:06:59 -04:00