Commit Graph

3967 Commits

Author SHA1 Message Date
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
Michael Bradley, Jr e5f6d987c0 engine-strict 2018-09-18 16:29:18 -05:00
Michael Bradley, Jr d8b9e1f6d8 spec node, npm in "engines" of package.json 2018-09-18 16:28:50 -05:00
Andre Medeiros 9151466a75 Simplify code 2018-09-18 16:36:21 -04:00
Andre Medeiros f54d572b3d Handle cases where deploy address isn't set 2018-09-18 16:30:32 -04:00
Michael Bradley, Jr a6231851b0 consistent quotes 2018-09-18 15:06:27 -05:00
Michael Bradley, Jr fc68e9be3c rev --gasDetails help output 2018-09-18 15:06:04 -05:00
Michael Bradley, Jr b2c7ef37b7 rev --node help output 2018-09-18 15:06:04 -05:00