Commit Graph

382 Commits

Author SHA1 Message Date
Iuri Matias 09390276bc
fix ws send; attempt to fix missing contractsState in ws 2018-10-23 10:20:09 +02:00
Iuri Matias 1e7f0ada5b
move blockchain connection code to its own module 2018-10-23 10:15:29 +02:00
Iuri Matias ad994ec393
get blockchain object from event bus 2018-10-23 10:14:36 +02:00
Iuri Matias 591dbf259f
rename blockchain connector 2018-10-23 10:14:03 +02:00
Iuri Matias bae3ee884d
move code generator to a module 2018-10-23 10:14:03 +02:00
Iuri Matias c6f7658dc0
cleanup 2018-10-23 10:14:02 +02:00
Iuri Matias 75d85d57c0
move code runner to core modules 2018-10-23 10:14:01 +02:00
Iuri Matias e69ec3b7f1
move proxy out of core 2018-10-23 10:14:01 +02:00
Iuri Matias 75551aa005
first stab at refactor blockchain launcher 2018-10-23 10:14:00 +02:00
Jonathan Rainville fe00535bd9
add new blockchain event 2018-10-23 10:09:59 +02:00
Michael Bradley, Jr 567e4c8859
simplify ternary re: `__mainContext` and `this` 2018-10-23 10:07:59 +02:00
Michael Bradley, Jr b823b6ebca
mainContext -- fallback to `this`, then `self`, then `undefined` 2018-10-23 10:07:59 +02:00
Michael Bradley, Jr c587cbdfa6
check for self 2018-10-23 10:05:25 +02:00
Iuri Matias 43448f62ef
move blockchain connection code to its own module 2018-10-23 09:56:18 +02:00
Iuri Matias 0585c5b3eb
move blockchain process to own module 2018-10-23 09:55:10 +02:00
Iuri Matias db7f3d39d3
first stab at refactor blockchain launcher 2018-10-23 09:55:10 +02:00
Jonathan Rainville 0bbc1f89b6
remove provider-engine as it has been creating lots of issues 2018-10-23 09:52:57 +02:00
Jonathan Rainville 7b5e88a6a9
wip fixes 2018-10-23 09:52:40 +02:00
Iuri Matias b8cbee460b
move blockchain connection code to its own module 2018-10-23 09:41:26 +02:00
Iuri Matias a0f209745f
move accountParser to utils 2018-10-23 09:39:03 +02:00
Iuri Matias 94422cd893
re-add events 2018-10-23 09:39:03 +02:00
Iuri Matias 91cc554978
cleanup 2018-10-23 09:39:03 +02:00
Iuri Matias c5d9a759af
move blockchain process to own module 2018-10-23 09:39:02 +02:00
Iuri Matias 4406dddf1e
first stab at refactor blockchain launcher 2018-10-23 09:39:02 +02:00
Jonathan Rainville 7e16691aa6
fix webserver errors 2018-10-23 09:02:41 +02:00
Jonathan Rainville 3ca70d6e21
remove provider-engine as it has been creating lots of issues 2018-10-23 09:02:40 +02:00
Jonathan Rainville da82c2eba2
wip fixes 2018-10-23 09:02:15 +02:00
emizzle c83b6dde60
Handle geth process exit via crash/kill and also via killing `embark blockchain`
First case - run `embark run` which starts a blockchain node, then manually kill the `geth` process. Would throw `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` error and ruins the dashboard.

Second case, 1) run `embark blockchain` 2) run `embark run` 3) kill `embark blockchain` throws the error `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` and ruins the dashboard.

The first case was solved by having the child blockchain process that spawns geth listen for geth exit, then kill itself.

The second case required updating of `eth-block-tracker` to v4.0.1 inside of the `embark-web3-provider-engine`. v4.0.1 was a major version update and introduced breaking changes. Those changes were handled inside of `embark-web3-provider-engine`, covered in **blocker** PR https://github.com/jrainville/provider-engine/pull/1.
2018-10-23 09:01:13 +02:00
Iuri Matias 58ba4bde48 move simulator & proxy to blockchain process module 2018-08-21 16:07:58 -04:00
Iuri Matias 53d944e801 move contracts manager to its own module 2018-08-21 16:07:58 -04:00
Jonathan Rainville 16aae66756 hide assuming when silent 2018-08-21 16:07:58 -04:00
Jonathan Rainville 5125cb06f7 hide contracts from dashboard when silent 2018-08-21 16:07:58 -04:00
Iuri Matias 95c945c238 refactor test deployment to not use engine directly 2018-08-21 16:05:59 -04:00
Iuri Matias 600d686342 requests instead of contract object directly 2018-08-21 16:05:59 -04:00
Iuri Matias 77dd5b4944 remove engine dependency; use api 2018-08-21 16:05:58 -04:00
Iuri Matias 4919114f36 move blockchain connection code to its own module 2018-08-21 16:04:22 -04:00
Iuri Matias 567b0c75b8 get blockchain object from event bus 2018-08-21 16:04:22 -04:00
Iuri Matias 9526e61652 rename blockchain connector 2018-08-21 16:04:22 -04:00
Iuri Matias 0c9dc48362 move code generator to a module 2018-08-21 16:04:22 -04:00
Iuri Matias b0a71a86d4 move accountParser to utils 2018-08-21 16:04:22 -04:00
Iuri Matias f9321776b1 move deployment to module 2018-08-21 16:03:35 -04:00
Iuri Matias 4ecb44e1c9 prepare to make it a module 2018-08-21 16:03:35 -04:00
Iuri Matias be3a79ce39 move contract deployer to deploy manager 2018-08-21 16:03:35 -04:00
Iuri Matias 499a3b5609 set gas limit through event 2018-08-21 16:03:35 -04:00
Iuri Matias 3465ab7265 add missing utils 2018-08-21 16:03:35 -04:00
Iuri Matias a79404547f re-add events 2018-08-21 16:03:35 -04:00
Iuri Matias 2f2b61da51 cleanup 2018-08-21 16:03:35 -04:00
Iuri Matias 5bf89b0fea move copmiler to a module 2018-08-21 16:02:18 -04:00
Iuri Matias 75de982772 move code runner to core modules 2018-08-21 16:02:18 -04:00
Iuri Matias dc86cbaccb move proxy out of core 2018-08-21 16:02:18 -04:00