Commit Graph

3805 Commits

Author SHA1 Message Date
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
Michael Bradley, Jr dbac72ea7d --coverage option only support "vm" node 2018-09-18 15:05:52 -05:00
Iuri Matias 83e79f7b3f
Merge pull request #868 from embark-framework/features/reset-removes-coverage
`embark reset` should remove a dapp's coverage subdir
2018-09-18 15:30:04 -04:00
Michael Bradley, Jr 3806dd6cd1 `embark reset` should remove a dapp's coverage/ subdir 2018-09-18 14:22:47 -05:00
Andre Medeiros 71f14778c2 Update web.js to 1.0.0-beta.36 2018-09-18 15:02:35 -04:00
Iuri Matias 98ff018967
Merge pull request #788 from santteegt/develop
Updated Spanish translation #760
2018-09-18 14:53:14 -04:00
Iuri Matias db1d83ea62
Merge pull request #803 from schweigert/develop
Added French translations
2018-09-18 14:50:08 -04:00
Iuri Matias efd0d03186
Merge pull request #864 from embark-framework/cli/gasdetails-wording
deploy -> deployment
2018-09-18 14:38:41 -04:00
Iuri Matias bde1b73afb
Merge pull request #866 from embark-framework/fix-pt-translation
Fix 'wen' -> 'web' in PT translations
2018-09-18 14:36:24 -04:00
Andre Medeiros 8216d3c193 Fix 'wen' -> 'web' in PT translations 2018-09-18 14:34:20 -04:00
Iuri Matias 91dd0a78f5
Merge pull request #791 from gustavodiel/locale/update-portuguese-locale
Update portuguese locale
2018-09-18 14:31:13 -04:00
Michael Bradley, Jr 1f652a7672 deploy -> deployment 2018-09-18 12:55:37 -05:00
Iuri Matias 904c716d89
Merge pull request #856 from embark-framework/features/config-browser-open
cli and config options for browser auto-open
2018-09-18 13:11:55 -04:00