64 Commits

Author SHA1 Message Date
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
0fcf508e17 associate address to contract 2018-05-23 11:15:05 -04:00
Iuri Matias
ba29f0e928 move deploy tracker into a module 2018-05-23 11:15:05 -04:00
Iuri Matias
78f64945ab remove web3 dependency from deploy tracker; use request instead to get block 2018-05-23 11:15:05 -04:00
Iuri Matias
a8e29976b7 move deploy to blockchain component 2018-05-23 11:15:05 -04:00
Iuri Matias
9b1a78cdaa move Contract object to blockchain module 2018-05-23 11:15:05 -04:00
Iuri Matias
84dcfca254 move getBlock to blockchain module 2018-05-23 11:15:05 -04:00
Iuri Matias
1547a115a4 move getCode to blockchain 2018-05-23 11:15:05 -04:00
Iuri Matias
ae93d78cc2 move accounts to web3 module 2018-05-23 11:15:04 -04:00
Iuri Matias
28ef2ed067 move web3 utils to utils module 2018-05-23 11:15:04 -04:00
Iuri Matias
e2c2373249 accept hash of objects as second param for runcode 2018-05-18 15:55:34 -04:00
Iuri Matias
0b70f32bb9 initial work for i18n 2018-05-10 15:01:34 -04:00
VoR0220
819dec1bc3 profile me officer, here's a new module
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-08 10:30:46 -05:00
Iuri Matias
17c33ad075
Merge pull request #384 from embark-framework/chores/test-allpligin-apis
Small fixes for plugin APIs
2018-04-26 17:06:05 -04:00
Iuri Matias
3b736f56a7 don't error if it's an empty dapp with no contracts yet 2018-04-26 14:15:43 -04:00
Jonathan Rainville
61be2c7bd7 addFileToPipeline test and registerBeforeDeploy with new arg 2018-04-26 09:40:32 -04:00
Jonathan Rainville
99c04b405f fix clas name and bytecode 2018-04-13 15:48:19 -04:00
Iuri Matias
05aadc5c10 support specifying contract args as an object 2018-03-04 20:07:39 -05:00
Iuri Matias
a03be15c4a display in logs contracts with address specified in the config 2018-03-04 19:23:02 -05:00
Iuri Matias
33b42dd9c1 detect invalid addresses 2018-03-04 19:18:39 -05:00
Iuri Matias
ac79cef97b fix 337; support contract references in array arguments 2018-03-04 18:46:12 -05:00
Iuri Matias
66a3388a9d fix error reporting for wrong params 2018-03-02 17:48:30 -05:00
Iuri Matias
66e9d6afa3 move contractsState from logger to event bus 2018-02-27 15:40:05 -05:00
Iuri Matias
f35718b6c0 error if account index is not found 2018-01-19 20:38:28 -05:00
hodlbank
776f07dc23 [*] Fixing #319: option to use particular account for contract deployment. 2018-01-20 00:56:05 +00:00
Iuri Matias
5300aa479b better gas estimation 2018-01-19 13:57:35 -05:00
Iuri Matias
a6013b518c remove extra comment 2018-01-19 11:18:31 -05:00
Iuri Matias
992b8c19e7 fix callback name 2018-01-18 14:46:53 -05:00
Iuri Matias
70f72f494d refactor deployContract method 2018-01-18 14:41:33 -05:00
hodlbank
2a88bb8cde [*] Fixed eslint warnings.
[+] Added proper asyncCallback for async.waterfall().
2018-01-17 23:34:38 +00:00
hodlbank
07c6be968a [+] Added beforeDeploy handlers.
[+] Plugins can call embark.registerBeforeDeploy() to register beforeDeploy handlers.
2018-01-17 23:04:19 +00:00
Iuri Matias
ea8f3a2232 improve gas handling and errors 2018-01-13 11:38:10 -05:00
Iuri Matias
7a5e5947ee cleanup 2018-01-05 15:34:31 -05:00
Iuri Matias
11ba67bb34 cleanup 2018-01-05 15:33:53 -05:00
Iuri Matias
59c3d82260 update web3.js 2018-01-05 15:10:47 -05:00
Iuri Matias
ab5d3722b9 fix issue where contract was being deployed everytime when gas config was set; catch errors on individual onDeploy cmds 2017-12-28 08:27:20 -05:00
Iuri Matias
750eace6ce always define contract code so ondeploy cmds work 2017-12-27 11:40:21 -05:00
Iuri Matias
281ebc643d update & fix onDeploy 2017-12-20 14:09:35 -05:00
Iuri Matias
d005d3f668 fix on deploy 2017-12-20 11:32:11 -05:00
Iuri Matias
9404bfb2cc don't attempt to link contract if it's not in the code 2017-12-19 11:13:27 -05:00
Iuri Matias
d42a34b342 comply with eslint 2017-12-15 17:30:29 -05:00
Iuri Matias
68886d7095 add error for reference issues 2017-12-15 16:39:13 -05:00
Iuri Matias
cfaccb307b throw error when target lib is not found 2017-12-15 16:18:19 -05:00