Commit Graph

779 Commits

Author SHA1 Message Date
Heikki Hakala 6b664fbfa8 Add light and fast from blockchain config 2018-01-22 09:57:35 +02:00
Heikki Hakala fd70689bec Add networkType rinkeby 2018-01-22 09:53:53 +02:00
Iuri Matias 639612579b if no env present just return final object 2018-01-20 09:01:18 -05:00
Iuri Matias b19194fc6b refactor config code 2018-01-19 22:08:39 -05:00
Iuri Matias 10c4c75236 move tests related files to their own folder 2018-01-19 21:13:20 -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 5c0c7b45a5 remove old code 2018-01-19 13:59:39 -05: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 ffe9af74bb Merge branch 'beforeDeploy' into develop 2018-01-17 23:08:22 +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 d09b94a5db refactor pipeline to remove duplicated code 2018-01-17 15:29:34 -05:00
Iuri Matias 80e8f6323a display error when there is a unknown compilation error 2018-01-17 15:09:19 -05:00
Iuri Matias ed8fe3a951 remove console logs 2018-01-17 14:55:22 -05:00
Iuri Matias f4d2f5346d import react bootstrap 2018-01-17 13:16:43 -05:00
Iuri Matias 7e8a594bf9 update tests 2018-01-17 11:29:30 -05:00
Iuri Matias 7b58a770d9 Merge branch 'develop' of github.com:iurimatias/embark-framework into develop 2018-01-17 11:24:26 -05:00
Iuri Matias 32d63514bf increase default gas value; add parameters 2018-01-17 11:23:32 -05:00
Iuri Matias 5985e6bea1
Merge pull request #326 from hodlbank/develop
Fixing issue #324: add options to configure simulator's mnemonic and …
2018-01-17 10:13:10 -05:00
Iuri Matias 4d1368f388 fix lint; update tests 2018-01-17 10:04:11 -05:00
Iuri Matias be1c5badd8 improve full support for es6 2018-01-16 19:17:52 -05:00
hodlbank 8471d8fa0f Fixing issue #324: add options to configure simulator's mnemonic and block time. 2018-01-15 21:55:28 +00:00
Iuri Matias a322d03053 support external node in tests 2018-01-15 09:51:45 -05:00
Iuri Matias ea8f3a2232 improve gas handling and errors 2018-01-13 11:38:10 -05:00
Iuri Matias ef0bc04f77 clean up; fix gas requirements 2018-01-12 18:36:29 -05:00
Iuri Matias e2aa46eac8 define default account for each contract 2018-01-12 18:06:51 -05:00
Iuri Matias 7cac969f16 default to boilerplate blockchain settings 2018-01-12 17:16:46 -05:00
Iuri Matias 4ab01744c6 update demo app 2018-01-12 16:33:16 -05:00
Iuri Matias 728aea6e04 fix imports issue 2018-01-12 14:21:36 -05:00
Iuri Matias 61c00819ec add reset cmd 2018-01-11 09:22:58 -05:00
Iuri Matias 9fd39f36ba add websocket config to blockchain config 2018-01-11 08:55:28 -05:00
Iuri Matias 82681fec8f support versioning ipfs-api 2018-01-10 11:15:32 -05:00
Iuri Matias 59642b4160 fix web3 versioning 2018-01-10 10:43:25 -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 a0fca8950d cleanup 2018-01-05 15:32:32 -05:00
Iuri Matias 4fcfc6c142 update whisper check 2018-01-05 15:30:52 -05:00
Iuri Matias 59c3d82260 update web3.js 2018-01-05 15:10:47 -05:00
Iuri Matias ae28df8f8e display error & warning when choosing an unexistant file 2018-01-03 13:44:35 -05:00
Iuri Matias 569734a80d re-add npm install for embark demo 2018-01-03 12:42:38 -05:00
Iuri Matias 0e502c1537 refactor service check 2017-12-30 21:44:59 -05:00
Iuri Matias fe186a4443 move module js code to its own folder 2017-12-30 21:02:46 -05:00
Iuri Matias 37a126a6b8 move old code to a separate file 2017-12-30 20:42:52 -05:00
Iuri Matias f4e81da630 refactor whisper code; separate old version 2017-12-30 20:09:46 -05:00
Iuri Matias 7e38a239b7 fix package name listener 2017-12-30 19:34:15 -05:00
Iuri Matias 1c38f3fb89 move lib 2017-12-30 18:25:59 -05:00
Iuri Matias 2f3abc37b7 use module command to get solc version 2017-12-30 18:12:16 -05:00
Iuri Matias c7f8698e58 refactor events handler so it can handle multiple args 2017-12-30 17:51:52 -05:00
Iuri Matias 3e1f16c673 update tests 2017-12-30 17:07:13 -05:00
Iuri Matias 11af38268b refactor: get versions from module instead of config 2017-12-30 16:48:53 -05:00
Iuri Matias dee49ec5ed add createPlugin; move cmds to library managers 2017-12-30 15:52:51 -05:00
Iuri Matias 947373eafc remove unnecessary if 2017-12-29 18:35:47 -05:00
Iuri Matias 3fb02befea comply with linter 2017-12-29 18:33:11 -05:00
Iuri Matias 92de2904f1 move webserver cmds to module 2017-12-29 18:29:56 -05:00
Iuri Matias 411ed41c84 fix console cmds api 2017-12-29 18:21:36 -05:00
Iuri Matias b29e865cd6 extract to method duplicated code 2017-12-29 16:29:32 -05:00
Iuri Matias d1a207941d take into account available providers list 2017-12-29 16:11:45 -05:00
Iuri Matias cb5230f569 comply with linter 2017-12-29 08:46:01 -05:00
Iuri Matias f00fa1c4aa refactor; flatten property list 2017-12-29 08:26:31 -05:00
Iuri Matias 4c1adf258b refactor: add method to get directly property 2017-12-29 08:08:04 -05:00
Iuri Matias 8956992950 extract communication provider 2017-12-28 18:10:43 -05:00
Iuri Matias 9ca337eeb1 extract storage provider 2017-12-28 17:42:25 -05:00
Iuri Matias 9f40958e6a Merge branch 'develop' of github.com:iurimatias/embark-framework into develop 2017-12-28 13:54:22 -05:00
Iuri Matias fc24b04bf6 comply with linter 2017-12-28 13:13:30 -05:00
Iuri Matias 310712567f move whisper to a module 2017-12-28 12:40:11 -05:00
Iuri Matias e833ebd019 move ipfs embarkjs code to module 2017-12-28 12:16:50 -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 36d7890cfc fix cyclic error when contract is actually just referring to itself 2017-12-28 08:26:02 -05:00
Iuri Matias 1f95418504 use for to avoid multiple callback calls 2017-12-28 07:30:41 -05:00
Iuri Matias 8de81c33bd Merge branch 'develop' of github.com:iurimatias/embark-framework into develop 2017-12-28 07:00:17 -05:00
Iuri Matias 24c34fcbe3 refactor setProvider 2017-12-27 21:04:12 -05:00
Iuri Matias 17a7dcf3e6 remove unsupported whisper protocol msg 2017-12-27 20:58:14 -05:00
Iuri Matias a568835ceb separate components; extract ipfs; add register method 2017-12-27 19:10:05 -05:00
Iuri Matias 174ba8ec9b add more cmd line options to sim 2017-12-27 17:48:33 -05:00
Iuri Matias aad78cc130 fix/improve error handling 2017-12-27 13:07:13 -05:00
Iuri Matias 750eace6ce always define contract code so ondeploy cmds work 2017-12-27 11:40:21 -05:00
Iuri Matias cff999def8 Merge branch 'develop' of github.com:iurimatias/embark-framework into develop 2017-12-27 08:21:15 -05:00
Iuri Matias eaf9016c79 move ipfs service check to its module 2017-12-26 20:32:51 -05:00
Iuri Matias 50f1072372 move upload to its own module 2017-12-26 19:55:42 -05:00
Iuri Matias 49d693dc1a use givenProvider instead of currentProvider 2017-12-26 09:07:57 -05:00
Iuri Matias cd0fd94386 updatests; include options 2017-12-22 13:07:43 -05:00
Iuri Matias 16afb4e405 implemet afterDeploy cmds 2017-12-21 11:21:36 -05:00
Iuri Matias 7cdba7e4e3 throw exception when finding CyclingDependencyError 2017-12-20 14:58:59 -05:00
Iuri Matias 52953a1d0d warn about cycling dependencies 2017-12-20 14:54:47 -05:00
Iuri Matias eb43fa2526 add onDeploy cmds to contract depedencies 2017-12-20 14:30:01 -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 d2ccfa3145 suggest parent name instead of same contract 2017-12-20 09:41:12 -05:00
Iuri Matias 25d99bcf2f fix linting error 2017-12-19 15:48:56 -05:00
Iuri Matias 02634d0bda warn is terminal window is too small 2017-12-19 15:14:09 -05:00
Iuri Matias 535340794b warn of contract typos 2017-12-19 14:07:48 -05:00
Iuri Matias c63c9b8728 warn user of typos 2017-12-19 13:29:48 -05:00
Iuri Matias bc34e00268 better errors when parsing invalid json 2017-12-19 12:57:03 -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 a99ee73ef8 add version command 2017-12-19 10:20:05 -05:00
Iuri Matias 6a27559de4 update linter rule 2017-12-19 09:54:39 -05:00