1233 Commits

Author SHA1 Message Date
emizzle
ec15823dbc Added a global storage module that inits ipfs or swarm depending on dappConnection options. WIP. 2018-06-01 13:28:28 +10:00
emizzle
f6667b6948 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-06-01 13:28:05 +10:00
Jonathan Rainville
ac69f2f9fd Merge branch 'develop' of https://github.com/embark-framework/embark into develop 2018-05-31 10:38:09 -04:00
Iuri Matias
75c91992e3
Merge pull request #469 from embark-framework/refactor_contracts_part2
Refactor contracts part2
2018-05-31 10:37:43 -04:00
Jonathan Rainville
30c6555649 hotfix tag for github urls 2018-05-31 10:37:40 -04:00
Iuri Matias
9929415da8 remove unneded passing of contracts manager 2018-05-31 10:09:26 -04:00
Iuri Matias
20d7496980 take into account errors when determining arguments 2018-05-31 10:02:57 -04:00
Iuri Matias
7ee62adb24 remove unused assignment 2018-05-30 17:30:51 -04:00
Iuri Matias
b3173c1ff3 register ipfs cmd correctly 2018-05-30 17:22:12 -04:00
Iuri Matias
b43a766de7 cleanup module call 2018-05-30 13:38:08 -04:00
Iuri Matias
7d795fa180 remove unused var 2018-05-30 13:38:08 -04:00
Iuri Matias
4f20d31b4c add emitAndRunActionsForEvent 2018-05-30 13:38:08 -04:00
Iuri Matias
45f7767313 remove contracts manager dependency from deploy manager 2018-05-30 13:38:08 -04:00
Iuri Matias
1d782c0e53 emit contractsDeployed event only 2018-05-30 13:38:08 -04:00
Iuri Matias
68e6782f49 remove unneded assignment 2018-05-30 13:38:08 -04:00
Iuri Matias
9b368bc1b3 remove unneeded assignment 2018-05-30 13:38:08 -04:00
Iuri Matias
1912981d7d move contract deploy code to contract deployer; move it to events 2018-05-30 13:38:08 -04:00
Iuri Matias
70f38d863e fix code generator event 2018-05-30 13:35:36 -04:00
Iuri Matias
f1cb7d1187 lint is king 2018-05-30 13:35:36 -04:00
Iuri Matias
69e5af2308 replace beforeAction plugin api with event action api 2018-05-30 13:35:36 -04:00
Iuri Matias
8458acd207 filter for plugins that have defined properties 2018-05-30 13:35:36 -04:00
Iuri Matias
3f20f400dd certify pluginTypes are uniques, to avoid issue with a plugin call being called twice or more 2018-05-30 13:35:36 -04:00
Iuri Matias
71cd523f30 remove old methods 2018-05-30 13:35:36 -04:00
Iuri Matias
16653d491b move onDeploy to new api 2018-05-30 13:35:36 -04:00
Iuri Matias
93e5003c64 cleanup 2018-05-30 13:35:36 -04:00
Iuri Matias
4f45b4fa13 add new plugin method for generalized event actions 2018-05-30 13:35:36 -04:00
Iuri Matias
f08bb56337 simplify determine args method 2018-05-30 13:35:36 -04:00
Iuri Matias
cf13f098ac refactor deploy method 2018-05-30 13:35:36 -04:00
Iuri Matias
f4010bd66e remove unnecessary determin params call 2018-05-30 13:35:36 -04:00
Iuri Matias
8cc86e0b0f remove legacy events 2018-05-30 13:35:36 -04:00
Iuri Matias
742632eccf remove contractsManager dependency 2018-05-30 13:35:36 -04:00
Iuri Matias
3f9c55131b use requests instead of contractsManager directly 2018-05-30 13:35:36 -04:00
Iuri Matias
5f64376c84 refactor generateContractsJson 2018-05-30 13:35:36 -04:00
Iuri Matias
cf999ce997 refactor runcode to use events instead; remove dependencies 2018-05-30 13:35:36 -04:00
Iuri Matias
fc92b69211 use self 2018-05-30 13:35:03 -04:00
Jonathan Rainville
e35474f726 early return 2018-05-30 13:23:18 -04:00
Jonathan Rainville
4db2d40ef5 fix swarm 2018-05-30 12:58:32 -04:00
Jonathan Rainville
b5e96beb81 little oopsie 2018-05-30 12:07:48 -04:00
Jonathan Rainville
ff0d24aa1f Merge branch 'features/ipfs-process' of https://github.com/embark-framework/embark into features/ipfs-process
# Conflicts:
#	lib/contracts/blockchain.js
2018-05-30 12:02:30 -04:00
Jonathan Rainville
b5d9a86680 start blockchain process at false and deploy on ready 2018-05-30 12:00:44 -04:00
Jonathan Rainville
138aaf39ff fix processes on ubuntu 2018-05-30 11:03:33 -04:00
Jonathan Rainville
2f3a94f3a1 little fixes 2018-05-30 11:03:33 -04:00
Jonathan Rainville
2023689eb2 fix tests 2018-05-30 11:03:33 -04:00
Jonathan Rainville
4df669ab52 add more error management to ipfs 2018-05-30 11:03:33 -04:00
Jonathan Rainville
d06a7f43ac fix swarm spawn 2018-05-30 11:03:33 -04:00
Jonathan Rainville
c86c50fb4e boot swarm with spawn 2018-05-30 11:03:33 -04:00
Jonathan Rainville
8655b49a39 change ipfs to spawn too 2018-05-30 11:03:33 -04:00
Jonathan Rainville
73db1a6133 something en.json 2018-05-30 11:03:33 -04:00
Jonathan Rainville
3f671c2fb0 conflict in en.json 2018-05-30 11:03:33 -04:00
Jonathan Rainville
d36af9f5e1 fix blockchain start 2018-05-30 11:03:33 -04:00