1944 Commits

Author SHA1 Message Date
emizzle
a26fbfff36 Storage config improvements start. Adjusted the config and have started to support those improvements through the codebase.
Currently stuck on starting multiple storage servcies at once. Might need  a change in storage config spec.

WIP.
2018-05-25 17:13:57 +10:00
Eric Mastro
0d5c7e6939 Merge remote-tracking branch 'origin/bug_fix/error-with-geth-cors' into features/improve-storage-config 2018-05-25 11:15:15 +10:00
emizzle
5b4e829675 * Adds auto cors updates to geth command when blockchain started via run command.
* Fixes issues with storage/webserver configs not enabled but still having their values put in to geth cors
* Adds fixes for not including port when port  == false
* Refactors of cors logic, and also now in a generic location so can be used by both `embark blockchain` and when blockchain started in separate process
2018-05-25 11:00:26 +10:00
Iuri Matias
87cd371894
Merge pull request #453 from embark-framework/warn_about_long_paths
warn about path depth
2018-05-23 12:34:23 -04:00
Iuri Matias
99b931d230 rename method 2018-05-23 12:33:59 -04:00
Iuri Matias
fe4dd67979 warn about path depth 2018-05-23 12:33:21 -04:00
Iuri Matias
f2fe9efd22
Merge pull request #454 from embark-framework/features/blockchain-in-run_rebased
Blockchain process + Blockchain/web3 refactor
2018-05-23 12:18:02 -04:00
Jonathan Rainville
a69d12e637 pass isDev and locale to process 2018-05-23 11:52:07 -04:00
Jonathan Rainville
61a5ba5e0a fix tests 2018-05-23 11:31:20 -04:00
Jonathan Rainville
471a4b9efb oopsie 2018-05-23 11:19:12 -04:00
Jonathan Rainville
77fad169aa add process exit 2018-05-23 11:17:03 -04:00
Jonathan Rainville
688a39b8bc show message when process doesnt end with code 0 2018-05-23 11:17:03 -04:00
Jonathan Rainville
1bca31184e always show process messages if error and catch geth errors 2018-05-23 11:17:03 -04:00
Jonathan Rainville
4815555a89 remove engine onReady 2018-05-23 11:17:02 -04:00
Jonathan Rainville
871c2fb228 fix tests 2018-05-23 11:17:02 -04:00
Jonathan Rainville
6145c0b92c start node only when no node is present 2018-05-23 11:17:02 -04:00
Jonathan Rainville
29a50ea9cd refactor assertNodeConnection to use it in watch 2018-05-23 11:17:02 -04:00
Iuri Matias
315d8c2197 fix merge 2018-05-23 11:17:02 -04:00
Jonathan Rainville
f935fee566 add i18n for blockchain node logs 2018-05-23 11:17:02 -04:00
Jonathan Rainville
0be35e87f9 remove duplicate translations 2018-05-23 11:17:02 -04:00
Jonathan Rainville
3759738551 fix tests 2018-05-23 11:17:02 -04:00
Jonathan Rainville
ece09785a7 fix testnet 2018-05-23 11:17:02 -04:00
Jonathan Rainville
4bdf469131 conflict in en.json 2018-05-23 11:17:02 -04:00
Jonathan Rainville
e69b8bab56 conflict in en.json 2018-05-23 11:17:02 -04:00
Jonathan Rainville
7f45b6724a finish hiding logs 2018-05-23 11:17:01 -04:00
Jonathan Rainville
2062f9032c conflict in en.json 2018-05-23 11:17:01 -04:00
Jonathan Rainville
c6b555af4e use event for when engine is ready to deploy 2018-05-23 11:17:01 -04:00
Jonathan Rainville
47591a39dd restart web3 service on proces launch 2018-05-23 11:17:01 -04:00
Jonathan Rainville
7e058e5016 set verbosity to 0 in process 2018-05-23 11:17:01 -04:00
Jonathan Rainville
3fcc36a7a1 launch blockchain in separate process
works but still cant getAccounts
2018-05-23 11:17:01 -04:00
Jonathan Rainville
aea270af02 detect no node using request 2018-05-23 11:17:01 -04:00
Iuri Matias
d1c3f36d02 update translations 2018-05-23 11:17:01 -04:00
Iuri Matias
201ec6c652 remove unneeded web3 object assignment 2018-05-23 11:17:01 -04:00
Jonathan Rainville
5f3361d030 conflict in en.json 2018-05-23 11:16:56 -04:00
Iuri Matias
3e9376138b move runCode 2018-05-23 11:16:17 -04:00
Jonathan Rainville
592b4ed4fd conflict in code_generator 2018-05-23 11:16:13 -04:00
Iuri Matias
30b1975e34 use request to get contract 2018-05-23 11:15:06 -04:00
Iuri Matias
c83064adf6 use request to get contract 2018-05-23 11:15:06 -04:00
Iuri Matias
7cebbec7b6 make determine arguments async 2018-05-23 11:15:06 -04:00
Iuri Matias
c0549a6642 refactor to waterfall, in preparation to making determine arguments async 2018-05-23 11:15:06 -04:00
Iuri Matias
3fb2b6fa60 remove direct reference to contracts manager, use a request instead 2018-05-23 11:15:06 -04:00
Iuri Matias
98c5b2dd06 move contractsState emit to contracts 2018-05-23 11:15:06 -04:00
Iuri Matias
250e0b8798 adjust contracts events emission 2018-05-23 11:15:06 -04:00
Iuri Matias
a664492d1f move onDeploy to special configs module 2018-05-23 11:15:06 -04:00
Iuri Matias
31833579a7 finish converting afterDeploy module 2018-05-23 11:15:06 -04:00
Iuri Matias
2064d26914 update package lock 2018-05-23 11:15:06 -04:00
Iuri Matias
c800598e9b move afterDeploy code into a special configs module 2018-05-23 11:15:06 -04:00
Iuri Matias
21026e07ae remove unnecessary passing of params around 2018-05-23 11:15:06 -04:00
Iuri Matias
000d7beb27 move code to assert connection to blockchain module 2018-05-23 11:15:06 -04:00
Iuri Matias
0ec4698e6b fix compiler tests 2018-05-23 11:15:05 -04:00