Commit Graph

709 Commits

Author SHA1 Message Date
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
Iuri Matias 799da089af refactor webserver code 2017-12-19 09:50:29 -05:00
Iuri Matias 76be683ed2 refactor webserver 2017-12-18 09:37:16 -05:00
Iuri Matias 8360295ed0 warn if server is already running or not 2017-12-17 19:18:35 -05:00
Iuri Matias 14d330a729 fix webserver service check 2017-12-17 18:58:55 -05:00
Iuri Matias 113bb25142 add webserver start/stop cmd 2017-12-17 18:34:41 -05:00
Iuri Matias 9efd29ec9e add to help exit cmd 2017-12-16 18:16:53 -05:00
Iuri Matias 81f06bc984 include ipfs version in versions cmd 2017-12-16 18:15:44 -05:00
Iuri Matias 65ae827350 Merge branch 'mds' into develop 2017-12-16 17:55:38 -05:00
Iuri Matias 8999d619c5 update tests 2017-12-16 17:55:27 -05:00
Iuri Matias 158fb1414a re-use same package if already downloaded 2017-12-16 17:36:52 -05:00
Iuri Matias 67dd4a22cb update tests 2017-12-16 17:10:11 -05:00
Iuri Matias ce6c570634 use utils joinPath instead of path.join 2017-12-16 17:10:11 -05:00
Iuri Matias ce4f75ddc4 extract solc to its own module 2017-12-16 17:08:18 -05:00
Iuri Matias f90321a23e warn user if attempting to download package without internet connection 2017-12-16 17:05:37 -05:00
Iuri Matias b764ecf4d6 fix logger call 2017-12-16 12:48:59 -05:00
Iuri Matias 9d78f995e8 refactor download 2017-12-16 12:44:52 -05:00
Iuri Matias a216aa980f extract tar extraction code 2017-12-16 12:23:02 -05:00
Iuri Matias 8e62a1f2e9 clean up 2017-12-16 12:01:45 -05:00
Iuri Matias 130b37f6fd minor refactor 2017-12-16 11:48:20 -05:00
Iuri Matias 7e1493c039 clean up 2017-12-16 11:45:29 -05:00
Iuri Matias 26b070b27f minor refactor: simplify options setting 2017-12-16 11:11:29 -05:00
Iuri Matias fb8d3c4c0a refactor availableServices 2017-12-16 10:54:17 -05:00
Iuri Matias a76dbb69b9 tolerate lack of blockchain config file 2017-12-16 08:48:37 -05:00
Iuri Matias 747237de76 fix defaults when contracts config file is not present 2017-12-16 08:12:38 -05:00
Iuri Matias e093ff5b30 refactor utils http get 2017-12-15 22:15:24 -05:00
Iuri Matias 301ba94ef6 refactor httpGet 2017-12-15 22:11:55 -05:00
Iuri Matias e88b51bdfd add err arg 2017-12-15 22:06:33 -05:00
Iuri Matias 510bc2c542 refactor httpsGet 2017-12-15 22:05:38 -05:00
Iuri Matias bee4d0e1f2 extract file download 2017-12-15 21:53:11 -05:00
Iuri Matias c4e13f9ea8 minor refactor on setprovider code 2017-12-15 18:02:50 -05:00
Iuri Matias d42a34b342 comply with eslint 2017-12-15 17:30:29 -05:00
Iuri Matias 1666be1158 fix contract directories config 2017-12-15 17:14:00 -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
Iuri Matias 7c33720c98 fix onDeploy cmds 2017-12-15 15:50:42 -05:00
Iuri Matias 0a4a757af8 fix deploy intention so interfaces can be detected automatically 2017-12-14 16:16:51 -05:00
Iuri Matias 34cec58f32 cleanup 2017-12-14 15:27:19 -05:00
Iuri Matias 1cb6581fde better display error contract deployment errors in the dashbord 2017-12-14 15:03:08 -05:00
Iuri Matias c55b011675 fix eslint issues 2017-12-13 20:15:57 -05:00
Iuri Matias 2c8f049f4a remove unused import 2017-12-13 19:51:34 -05:00
Iuri Matias bed7e7afc6 clean up 2017-12-13 19:49:59 -05:00
Iuri Matias 9211279f8e fix eslint issues 2017-12-13 19:49:05 -05:00
Iuri Matias 6098d3cca6 add alias for exit cmd 2017-12-13 19:31:16 -05:00
Iuri Matias ccb77051f8 import bootstrap in test_app 2017-12-13 19:24:20 -05:00
Iuri Matias 4106531bd7 warn user when IPFS comes back online 2017-12-13 18:15:59 -05:00
Iuri Matias d32d5f50bd check if geth command exists and warn user if not 2017-12-13 17:58:07 -05:00
Iuri Matias 19d061e5f3 remove commented out line 2017-12-13 17:25:29 -05:00
Iuri Matias e2dcad07ce update tests 2017-12-13 16:28:23 -05:00
Iuri Matias 0b00f99f09 include ipfs lib in embarkjs 2017-12-13 15:53:29 -05:00
Iuri Matias 3ddd492e83 refactor building web3 obj 2017-12-13 15:53:29 -05:00
Iuri Matias c160ac616f refactor building web3 obj 2017-12-13 15:53:29 -05:00
Iuri Matias a174b94702 move basic import so it's always available 2017-12-13 15:53:29 -05:00
Iuri Matias 99a66a05ef import web3 object on contract import 2017-12-13 15:53:29 -05:00
Iuri Matias b7b5fae2c8 imports with shared web3 object 2017-12-13 15:53:29 -05:00
Iuri Matias 92e22ea519 support special imports 2017-12-13 15:53:29 -05:00
Iuri Matias 038f57e7d2 fix new index example 2017-12-13 15:53:29 -05:00
Iuri Matias 3d36aaaeb3 support both old system and imports in the pipeline 2017-12-13 15:53:29 -05:00
Iuri Matias 33711c8db2 support imports 2017-12-13 15:53:29 -05:00
Iuri Matias aa0f774f1d Merge branch 'release/2.6.0' into develop 2017-12-13 12:17:29 -05:00
Iuri Matias daba3b9319 remove extra character in template causing issues with the console 2017-12-13 11:38:36 -05:00
Iuri Matias 58cf9ca78d take into account config in ipfs service check 2017-12-07 10:26:17 -05:00
Iuri Matias be64d2ff6b fix IPFS dependency 2017-12-06 11:37:44 -05:00
Iuri Matias e2cbc2a488 fix linting issues 2017-12-05 18:14:46 -05:00
Antonio Tenorio Fornés 4bb77ae8d5 Merge branch 'develop' into buildFixes 2017-10-24 20:56:57 +02:00
Iuri Matias 2690ada62d Merge branch 'next' into develop 2017-10-22 09:47:11 -04:00
Iuri Matias 05ebefff9a downgrade to 0.4.17 2017-10-22 09:44:32 -04:00
Iuri Matias f3a8e68c60 Merge branch 'next' into develop 2017-10-22 08:37:24 -04:00
Iuri Matias 38b1cf480e update solc version 2017-10-21 15:17:54 -04:00
Iuri Matias 398aff3af7 fix multiple issues with multiple file writes 2017-10-21 14:21:18 -04:00
Iuri Matias 8c1b9b56cf update bundle; don't double add shh option 2017-10-21 08:42:29 -04:00