385 Commits

Author SHA1 Message Date
Iuri Matias
e00f4cb0b4 fix rebase issues 2018-09-30 10:55:21 -04:00
Richard Ramos
e9ef5a3f0b Added event to obtain list of contracts and show them on the dashboard 2018-09-30 10:53:43 -04:00
Iuri Matias
66d476a76b add event and API end poitn to get the JSON info of a contract 2018-09-30 10:51:04 -04:00
Iuri Matias
3d76191cae fix ws send; attempt to fix missing contractsState in ws 2018-09-30 10:37:13 -04:00
Iuri Matias
3388b2ac46 move blockchain connection code to its own module 2018-09-30 10:10:29 -04:00
Iuri Matias
2973f4eaa0 get blockchain object from event bus 2018-09-30 10:09:44 -04:00
Iuri Matias
c333f3839d rename blockchain connector 2018-09-30 10:09:44 -04:00
Iuri Matias
7b986666a6 move code generator to a module 2018-09-30 10:09:44 -04:00
Iuri Matias
03070e7f66 cleanup 2018-09-30 10:08:04 -04:00
Iuri Matias
01eb1a01b4 move code runner to core modules 2018-09-30 10:04:04 -04:00
Iuri Matias
3cc0c5dee8 move proxy out of core 2018-09-30 10:01:41 -04:00
Iuri Matias
0b44ca3de5 first stab at refactor blockchain launcher 2018-09-30 10:01:41 -04:00
Jonathan Rainville
2092d47901 add new blockchain event 2018-09-30 09:54:28 -04:00
Michael Bradley, Jr
0d57aa7688 simplify ternary re: __mainContext and this 2018-09-30 09:52:34 -04:00
Michael Bradley, Jr
1715338ed6 mainContext -- fallback to this, then self, then undefined 2018-09-30 09:52:34 -04:00
Michael Bradley, Jr
fb77870f88 check for self 2018-09-30 09:45:47 -04:00
Iuri Matias
45cc43bfc8 move blockchain connection code to its own module 2018-09-30 08:33:35 -04:00
Iuri Matias
b2bf717728 move blockchain process to own module 2018-09-29 22:26:08 -04:00
Iuri Matias
d119aa7093 first stab at refactor blockchain launcher 2018-09-29 22:25:32 -04:00
Jonathan Rainville
f98d3826dd remove provider-engine as it has been creating lots of issues 2018-09-29 22:08:39 -04:00
Jonathan Rainville
500ef163a7 wip fixes 2018-09-29 22:07:27 -04:00
Iuri Matias
50124435d8 move blockchain connection code to its own module 2018-09-29 20:33:25 -04:00
Iuri Matias
0928bb73b7 move accountParser to utils 2018-09-29 20:28:53 -04:00
Iuri Matias
eda188b01e re-add events 2018-09-29 20:26:57 -04:00
Iuri Matias
f4d3a35887 cleanup 2018-09-29 20:26:57 -04:00
Iuri Matias
1aa31afced move blockchain process to own module 2018-09-29 20:26:57 -04:00
Iuri Matias
79e515ddb0 first stab at refactor blockchain launcher 2018-09-29 20:25:41 -04:00
Jonathan Rainville
e8134556da fix webserver errors 2018-09-29 19:47:39 -04:00
Jonathan Rainville
bde03ea646 remove provider-engine as it has been creating lots of issues 2018-09-29 19:47:39 -04:00
Jonathan Rainville
15ba457f60 wip fixes 2018-09-29 19:46:13 -04:00
emizzle
ffa2c44c96 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-09-29 19:42:50 -04: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