Commit Graph

3674 Commits

Author SHA1 Message Date
Iuri Matias 4af9114681 fix blockchain node not found msg so it actually shows red 2018-09-21 17:51:53 -04:00
Iuri Matias af823f98b6 clarify template option; hide ens option; update typo suggestion list 2018-09-21 17:51:33 -04:00
Michael Bradley, Jr bf61fe2757 deps -- npm-run-all 2018-09-21 16:43:04 -05:00
Michael Bradley, Jr f33962954a alpha sort devDeps 2018-09-21 16:41:53 -05:00
Andre Medeiros 0bdafc273f Fetch IPFS dir hash deterministically 2018-09-21 16:52:39 -04:00
Andre Medeiros 12c495502d Resolve private key path instead of forcing inside dApp root 2018-09-21 14:04:04 -04:00
Michael Bradley, Jr 18239f539b have travis run the tests on osx (macOS) in addition to linux 2018-09-21 11:31:09 -05:00
Iuri Matias 636e5a09ac
Merge pull request #886 from embark-framework/features/shrinkwrap
package-lock.json -> npm-shrinkwrap.json
2018-09-21 12:16:09 -04:00
Michael Bradley, Jr de9c6d0e3b package-lock.json -> npm-shrinkwrap.json 2018-09-21 09:38:20 -05:00
Anthony Laibe 1b649d0e3a
Merge pull request #885 from embark-framework/bugfix/blockchain-not-done
Bugfix/blockchain not done
2018-09-21 15:11:20 +01:00
Iuri Matias 787c15aebf
Merge pull request #882 from embark-framework/features/save-exact
exact versions for all dependencies
2018-09-21 09:43:24 -04:00
Iuri Matias ed9ab19dbd
Merge pull request #879 from embark-framework/features/autominer-documentation
add autominer config example to templates with comments
2018-09-21 09:40:41 -04:00
Iuri Matias 1f23e33c99
Merge pull request #881 from embark-framework/linter/allow-bangbang
allow coercion w/ `!!`
2018-09-21 09:38:09 -04:00
Iuri Matias 71cbb07ad8
Merge pull request #878 from embark-framework/bug_fix/minewhenneeded-fixes-3
Fix datadir for miner (PR for next branch)
2018-09-21 09:36:06 -04:00
Iuri Matias 9a914d0b5a
Merge pull request #877 from embark-framework/bug_fix/proxy-setup-awaits-blockchain
proxy should try to wait on target endpoint
2018-09-21 09:31:48 -04:00
Iuri Matias d975c2ad81
Merge pull request #876 from embark-framework/bug_fix/redeploy-instanceOf
fix for instance contracts not redploying when parent changes
2018-09-21 09:21:36 -04:00
Michael Bradley, Jr 269bb64a5d pkg lock -- manually replace remaining "http" w/ "https" 2018-09-20 14:53:43 -05:00
Michael Bradley, Jr c23868f95b spec exact versions per `npm ls --depth=0` 2018-09-20 14:51:32 -05:00
Michael Bradley, Jr 51b8346763 save-exact by default 2018-09-20 14:51:03 -05:00
Michael Bradley, Jr 515c4aced0 pkg lock -- all changes involve only "http" -> "https" 2018-09-20 14:33:55 -05:00
Michael Bradley, Jr 8b91a98145 allow coercion w/ `!!` 2018-09-20 12:40:38 -05:00
emizzle db365f1870 fix typo 2018-09-20 23:00:11 +10:00
Anthony Laibe 09de3201a1 Set default account back 2018-09-20 11:49:05 +01:00
Anthony Laibe d5d0aa1600 EmbarkJS blockchain must be done 2018-09-20 11:15:48 +01:00
Anthony Laibe 907b486531 Send ready only when the proxy is started 2018-09-20 10:16:48 +01:00
emizzle ec625bd3f6 Removed development folder in template config 2018-09-20 16:24:08 +10:00
emizzle 46cce5266d add autominer config example to templates with comments
Updated the demo template config and the boilerplate template config with documentation for the `mineWhenNeeded`, and `genesisBlock` options.
2018-09-20 16:21:29 +10:00
Iuri Matias 4a321e3c0c coerce boolean value using more commmon !! 2018-09-20 15:33:33 +10:00
emizzle ab7784c1e9 Fix datadir for miner
The datadir path was not being passed to the miner, was resolving as `undefined`, and therefore, was not setting up an ipc connection correctly and no communication was happening.

The fix passes the `datadir` from the blockchain config to the miner in the constructor.
2018-09-20 15:30:06 +10:00
emizzle c477445896 Start HTTP and WS proxies individually
As geth is starting up, the output is monitored for endpoint info. Once the HTTP or WS endpoints are opened, the corresponding proxies are started.

This is more maintainable in the long run in case the geth process being started does not allow for rpc or websockets, or geth modifies the order in which endpoint are opened.
2018-09-20 15:08:02 +10:00
Michael Bradley, Jr eba9ce361e setupProxy should not be conditional on isDev 2018-09-19 22:31:54 -05:00
Michael Bradley, Jr 917757b04c outer function doesn't need to be async 2018-09-19 21:13:19 -05:00
Michael Bradley, Jr e19b3b2f51 simplify syntax 2018-09-19 21:13:06 -05:00
Michael Bradley, Jr 2b816af9a8 eslint doesn't like `void 0` here 2018-09-19 21:12:37 -05:00
Michael Bradley, Jr 1408abf8d9 supply radix 2018-09-19 21:12:20 -05:00
Michael Bradley, Jr fa274675a5 timer function doesn't need to be async, since it returns a promise 2018-09-19 21:11:55 -05:00
Michael Bradley, Jr 4fc9827080 need parent contract's realRuntimeBytecode 2018-09-19 20:55:00 -05:00
Michael Bradley, Jr aae7954020 await proxy just before createFundAndUnlockAccounts 2018-09-19 20:11:36 -05:00
Michael Bradley, Jr 35c772d727 async setupProxy 2018-09-19 20:10:46 -05:00
Michael Bradley, Jr b9975668b8 proxy should attempt to wait on target 2018-09-19 20:10:15 -05:00
Michael Bradley, Jr 3846db79f7 make sure port is an integer, port var should hold offset port value 2018-09-19 20:10:15 -05:00
Michael Bradley, Jr ae8a59cf9b timer utility 2018-09-19 19:47:38 -05:00
Iuri Matias 7e52728dc0
Merge pull request #874 from embark-framework/speed-up-solc
Do not request legacyAST from solc to speed up compilation
2018-09-19 16:24:16 -04:00
Andre Medeiros c6d7bec9d7 Do not request legacyAST from solc to speed up compilation 2018-09-19 15:51:11 -04:00
Iuri Matias b817c0f012
Merge pull request #872 from embark-framework/feature/warning-for-gas
Display warning for gas price
2018-09-19 13:57:17 -04:00
Iuri Matias c4de5fb512
Merge pull request #870 from embark-framework/features/engine-strict
engine-strict
2018-09-19 12:09:05 -04:00
Iuri Matias 501ddd610e
Merge pull request #869 from embark-framework/cli/coverage-only-with-vm
--coverage requires --node be "vm"
2018-09-19 11:58:39 -04:00
Iuri Matias d3e14c0d8a
Merge pull request #867 from embark-framework/update-web3-js
Update web.js to 1.0.0-beta.36
2018-09-19 11:01:02 -04:00
Anthony Laibe b1df72be3f Update text 2018-09-19 13:46:39 +01:00
Anthony Laibe 2a61857990 Display warning for gas price 2018-09-19 12:02:33 +01:00