Commit Graph

385 Commits

Author SHA1 Message Date
Nicolas Iglesias a100d307ff Add missing argument 2016-11-27 13:59:54 -03:00
ed0wolf 668e0be0c3 Setting web3 on Embark Test constructor so it can be used before deploying contracts 2016-11-08 09:31:02 +00:00
Iuri Matias 0a26fa98ce define version in the main object 2016-10-30 22:37:06 -04:00
Iuri Matias 59f9d9fdf0 handle errors 2016-10-30 22:04:25 -04:00
Iuri Matias c7bd478dde handle error if no accounts are found 2016-10-30 21:56:19 -04:00
Iuri Matias b01f18916e return callback 2016-10-30 21:52:58 -04:00
Iuri Matias eb7c89045e log any error with the services 2016-10-30 21:47:21 -04:00
Iuri Matias c893c34fd2 add errors in test 2016-10-30 21:35:08 -04:00
Iuri Matias 52244cca8e move gas adjust to its own method 2016-10-30 21:31:29 -04:00
Iuri Matias 99c528c230 simplify method dealing with instanceOf 2016-10-30 20:48:16 -04:00
Iuri Matias 5c283b5232 support maxpeers option 2016-10-30 20:35:11 -04:00
Iuri Matias 6920ae9481 refactor to use commonOptions method 2016-10-30 20:21:28 -04:00
Iuri Matias a5bc17f0de use config port when calling geth 2016-10-30 20:15:57 -04:00
Iuri Matias e58671e742 refactor common geth command options into the a common method 2016-10-30 20:08:45 -04:00
Iuri Matias 0a2a26fd29 fix network config type 2016-10-30 20:01:25 -04:00
Iuri Matias 5c05b7f8d9 simplify whisper config condition 2016-10-30 19:53:23 -04:00
Iuri Matias 88bdd662de refactor determining method arguments 2016-10-30 19:38:40 -04:00
Iuri Matias df7ff3916f handle error on deploy all 2016-10-30 19:28:45 -04:00
Iuri Matias e44bd3a22e handle error on contract deplyoment 2016-10-30 19:22:09 -04:00
Iuri Matias ac67c80576 return callbacks 2016-10-30 19:17:31 -04:00
Iuri Matias c30a289945 handle error if no accounts are found 2016-10-30 19:14:38 -04:00
Iuri Matias 67074ee60f update to 2.1.3 2016-10-30 08:57:44 -04:00
Iuri Matias 0524b17309 update to 2.1.3 2016-10-30 08:56:13 -04:00
Iuri Matias a9fbd5f6a5 make --no-color option available 2016-10-29 22:35:22 -04:00
Iuri Matias 7bccb73f01 support --dashboard option 2016-10-29 22:30:41 -04:00
Iuri Matias 655f56f893 support --noserver option 2016-10-29 22:00:54 -04:00
Iuri Matias 60285ea1c0 support specifying web server hostname through -b option 2016-10-29 21:41:50 -04:00
Iuri Matias caaf3acde5 use path join 2016-10-29 14:13:06 -04:00
Iuri Matias 41273a4517 remove trailing commas 2016-10-29 14:07:42 -04:00
Iuri Matias 06879ccdd6 return callback 2016-10-29 13:55:06 -04:00
Iuri Matias 549e33317b use path join 2016-10-29 13:50:54 -04:00
Iuri Matias 60f487da38 use path join 2016-10-29 12:35:16 -04:00
Iuri Matias bd3b05bb00 refactor condition to avoid checking for void 0 2016-10-29 12:24:13 -04:00
Iuri Matias 814c2bc4a4 return callbacks 2016-10-29 12:15:50 -04:00
Iuri Matias 9a09e206ae refactor contract build method 2016-10-29 12:02:07 -04:00
Iuri Matias 215a823c35 update to 2.1.2 2016-10-29 11:16:43 -04:00
Iuri Matias 00dd8ecf91 display compilation and/or deployment error in the logs and status instead of crashing 2016-10-29 11:08:10 -04:00
Iuri Matias 816e67370a refactor duplicated build & deploy process 2016-10-29 10:33:54 -04:00
Iuri Matias c9a52c11b0 update to 2.1.1 2016-10-25 19:44:12 -04:00
Iuri Matias 19735884c0 add support for -p option in embark run to specify web server port 2016-10-25 19:33:24 -04:00
Iuri Matias a6397b3fe9 update to 2.1.0 2016-10-24 06:14:35 -04:00
Iuri Matias 3ea6e53218 get contract from contract list, not compiled contracts 2016-10-23 11:15:35 -04:00
Iuri Matias 42fd369cf4 remove trailing commas 2016-10-22 20:16:00 -04:00
Iuri Matias 9de3d20ee9 remove trailing commas 2016-10-22 20:10:25 -04:00
Iuri Matias 4b1a16b100 add jshint exceptions and TODO 2016-10-22 17:29:06 -04:00
Aleš Katona 835047c755 fix lint errors 2016-10-22 13:29:41 -06:00
Iuri Matias 4989876135 display ethereum node name and embark version in available services 2016-10-22 12:11:47 -04:00
Iuri Matias f337ffd418 clarify web3 error msg 2016-10-22 11:57:36 -04:00
Iuri Matias bcdba3f8bc clarify gas amount msg 2016-10-22 11:48:47 -04:00
Iuri Matias ae3bcb1060 fix gas settings; add information of gas used with deployment 2016-10-22 09:42:52 -04:00
Iuri Matias d05cf90b5b display error in contract status 2016-10-21 07:16:15 -04:00
Iuri Matias 907a358e5b add some tabs to adjust status message 2016-10-20 23:34:31 -04:00
Iuri Matias f747c757c5 if the contract is set to not deploy, display information correctly on the dashboard 2016-10-20 23:31:42 -04:00
Iuri Matias 727e2d0923 set the default limit if the contract deploy option is false 2016-10-20 23:22:31 -04:00
Iuri Matias bf509e8b27 don't return a contract from the chains.json if it has no address 2016-10-20 23:21:32 -04:00
Iuri Matias f9dbbd9243 update to 2.0.1 2016-10-19 07:38:32 -04:00
Iuri Matias fa17170878 add version number to cmd 2016-10-16 12:41:28 -04:00
Iuri Matias 23a7f03cc4 add more tests; fix issue with selecting selecting non-default environment contract configuration 2016-10-15 15:54:19 -04:00
Iuri Matias 5a6a9e8b94 join serpent and solidity contracts 2016-10-15 08:22:18 -04:00
Iuri Matias 969e4015cb add test for abi and blockchain config; fix whisper config 2016-10-14 07:01:54 -04:00
Iuri Matias ab42ae92d5 support nodiscover option; add warnings to cors settings 2016-10-07 07:15:29 -04:00
Iuri Matias 47736b6eed add check for ipfs 2016-10-06 07:40:24 -04:00
Iuri Matias a19a690d3d fix relative paths to js files 2016-10-06 07:40:24 -04:00
Iuri Matias 8a1fd3a165 jshint it 2016-10-06 07:40:24 -04:00
Iuri Matias 8711b75462 add support for more simulators 2016-10-06 07:40:24 -04:00
Iuri Matias 9d6e7b79bd implement onDeploy 2016-10-06 07:40:24 -04:00
Iuri Matias fcc808b9f4 add ipfs and tests cmd 2016-10-06 07:40:24 -04:00
Iuri Matias b0458c6fab fix logging in test 2016-10-06 07:40:23 -04:00
Iuri Matias 5ae091ffb5 refactor ipfs module 2016-10-06 07:40:23 -04:00
Iuri Matias fb41ce8a66 remove old files 2016-10-06 07:40:23 -04:00
Iuri Matias ed6b1fd5c2 implement test functionality 2016-10-06 07:40:23 -04:00
Iuri Matias 97954ead32 refactor contract builder 2016-10-06 07:40:23 -04:00
Iuri Matias 4b4b15f405 add support for static addresses in contracts config 2016-10-06 07:40:23 -04:00
Iuri Matias 2b6e5e834a support instanceOf config 2016-10-06 07:40:23 -04:00
Iuri Matias 2a8f0635b9 implement contract dependencies 2016-10-06 07:40:23 -04:00
Iuri Matias d21f385fc0 fix rpccorsdomain; deployment to livenet and testnet 2016-10-06 07:40:23 -04:00
Iuri Matias 2e79299f14 cleanup; add todo to add other items to chains file 2016-10-06 07:40:23 -04:00
Iuri Matias 3d672a0f63 make sure code exists when tracking it 2016-10-06 07:40:23 -04:00
Iuri Matias 4af36ce1e4 refactor blockchain module; support more options 2016-10-06 07:40:23 -04:00
Iuri Matias 2eef8b46ae make address green in dashboard 2016-10-06 07:40:22 -04:00
Iuri Matias 7f31566684 adjust log levels of watcher 2016-10-06 07:40:22 -04:00
Iuri Matias 4c1f3fb8f6 refactor watch module 2016-10-06 07:40:22 -04:00
Iuri Matias 656ac157d3 refactor watch module 2016-10-06 07:40:22 -04:00
Iuri Matias 3a5891810a jshint it 2016-10-06 07:40:22 -04:00
Iuri Matias 03f81c47d7 implement contract tracking 2016-10-06 07:40:22 -04:00
Iuri Matias c3beb51327 fix contract arguments 2016-10-06 07:40:22 -04:00
Iuri Matias df508e4e8d watch for config file changes and redeploy 2016-10-06 07:40:22 -04:00
Iuri Matias 89c0001dcb make contract gas calculation automatic 2016-10-06 07:40:22 -04:00
Iuri Matias f004a1a7e1 fix pipeline and watching of contracts and assets 2016-10-06 07:40:22 -04:00
Iuri Matias 432bc5a5b1 clear cmd line on ctrl-w 2016-10-06 07:40:22 -04:00
Iuri Matias 556c799869 add command line history and navigation to the console 2016-10-06 07:40:22 -04:00
Iuri Matias 9e61009942 watch contract files 2016-10-06 07:40:22 -04:00
Iuri Matias a1bedff7e1 add error message if attemping to start without node already running 2016-10-06 07:40:21 -04:00
Iuri Matias 2f9c0a2996 add more support for the console 2016-10-06 07:40:21 -04:00
Iuri Matias 70c9a1d9c5 add more functionality to the logs and update the dashboard 2016-10-06 07:40:21 -04:00
Iuri Matias 26e178f91c adjust monitor and improve error msgs 2016-10-06 07:40:21 -04:00
Iuri Matias ea0ea6599e exit from monitor on ctrl+c 2016-10-06 07:40:21 -04:00
Iuri Matias 7b45f8d6ea basic monitor 2016-10-06 07:40:21 -04:00
Iuri Matias f38d0e886c use blockchain config to determine rpc host and port 2016-10-06 07:40:21 -04:00
Iuri Matias e9e71da81a support IPFS 2016-10-06 07:40:21 -04:00
Iuri Matias b9c93fe97d refactor config into its own module 2016-10-06 07:40:21 -04:00
Iuri Matias 95615d14a7 some progress with new tests 2016-10-06 07:40:21 -04:00
Iuri Matias 0f14c247b0 refactor run and build functions 2016-10-06 07:40:20 -04:00
Iuri Matias f6c8b7a301 refactor watch 2016-10-06 07:40:20 -04:00
Iuri Matias eb95ae7fd6 refactor server 2016-10-06 07:40:20 -04:00
Iuri Matias 6f5c5fae36 implement templates, build, and blockchain 2016-10-06 07:40:20 -04:00
Iuri Matias d1dae1bade initial embarkjs implementation with support for client side deploys 2016-10-06 07:40:20 -04:00
Iuri Matias 88381bdda1 working run 2016-10-06 07:40:20 -04:00
Iuri Matias 421a0af41e implement watch functionality 2016-10-06 07:40:20 -04:00
Iuri Matias 00a7dbe2f1 add server functionality 2016-10-06 07:40:20 -04:00
Iuri Matias dfb365d07e implement simple pipeline system 2016-10-06 07:40:20 -04:00
Iuri Matias 2064b72ac6 redone deployment system 2016-10-06 07:40:20 -04:00
Iuri Matias 22f7e6d6d4 move some of the old code 2016-10-06 07:39:33 -04:00
Iuri Matias 0faa649c2f add single deploy support 2016-08-10 07:58:11 -04:00
Iuri Matias 60d860f27a support deploying a single contract with custom arguments in the tests 2016-08-09 21:59:49 -04:00
Iuri Matias cf3cfe51ca generate an abi file compatible with mist and metamask 2016-08-09 20:50:12 -04:00
Iuri Matias da92171818 fix testnet support 2016-05-31 22:10:46 -04:00
Iuri Matias 00543f3830 fix deployment for tests 2016-05-29 20:14:27 -04:00
Iuri Matias b78b742ab4 fix solc input 2016-05-29 15:09:57 -04:00
Iuri Matias 7b9de1b259 make ethersim optional 2016-05-23 16:00:54 -04:00
Iuri Matias fe02278179 update web3 to latest version 2016-05-23 09:20:11 -04:00
Iuri Matias faf626be93 make embark blockchain compatible with latest geth 2016-05-22 11:23:04 -04:00
Iuri Matias c168d103cb remove no longer supported log file option when calling geth 2016-05-20 23:26:17 -04:00
Iuri Matias 2eaa5fc0a4 Merge pull request #146 from iurimatias/upcoming
Upcoming
2016-02-29 10:03:48 -05:00
Iuri Matias 32ef27212b update specs; remove unused env config 2016-02-29 09:59:34 -05:00
Iuri Matias f032256552 remove exit - for now - when getting an error deploying 2016-02-29 09:50:17 -05:00
Iuri Matias 676c598b4a Merge pull request #142 from SafeMarket/console-log-deploy-errors
Console log deploy errors
2016-02-28 12:58:03 -05:00
Iuri Matias 0fda113db3 Merge pull request #143 from SafeMarket/extension-fix
Extension fix
2016-02-28 12:57:52 -05:00
Iuri Matias 30fd0a9489 Merge pull request #144 from SafeMarket/deploy_synchronously
Deploy synchronously
2016-02-28 12:57:05 -05:00
Aakil Fernandes c1195b4e03 remove extra quotes 2016-02-25 15:56:40 -05:00
Aakil Fernandes 07ec906766 add blockchain config to abi 2016-02-25 15:23:11 -05:00
Aakil Fernandes 8af4282ed7 deployed_contracts_count fix 2016-02-25 15:23:11 -05:00
Aakil Fernandes 8ea13b4da5 sync->synchronously 2016-02-25 15:23:11 -05:00
Aakil Fernandes 7dac3c0832 deploy_synchronously 2016-02-25 15:23:11 -05:00
Iuri Matias bd76193ac8 add bignumber to dependencies so BigNumber can be used in onDeploy 2016-02-25 15:21:45 -05:00
Aakil Fernandes 171fefbda1 expose runtimeBytecode 2016-02-25 15:20:47 -05:00
Aakil Fernandes 83520affa3 add contractdb 2016-02-25 15:20:47 -05:00
Aakil Fernandes cb0ac1e3ca use last part of contract file rather than 1st 2016-02-25 14:08:24 -05:00
Aakil Fernandes c2ae0c5b4f rebase 2016-02-25 13:40:09 -05:00
Iuri Matias 9f21e35607 Merge pull request #136 from area/develop
Add support for other paths for ipfs binary
2016-02-09 16:19:31 -05:00
Iuri Matias 648382bd15 fix blockchain config specs 2016-02-09 15:45:48 -05:00
Iuri Matias a74e0aaa8c update compiler spec 2016-02-09 15:25:23 -05:00
Iuri Matias ef94b9ad96 remove extra minethreads config 2016-02-09 15:05:04 -05:00
Iuri Matias 3ec1fdb6d9 add filename to compiler hash 2016-02-09 14:44:40 -05:00
Iuri Matias 991abb2c7d remove extra { 2016-02-08 22:07:30 -05:00
VoR0220 1bd6c89f0c small corrections 2016-02-08 21:59:44 -05:00
VoR0220 8d2d4f8df4 Throw errors for solidity compiler 2016-02-08 21:59:44 -05:00
VoR0220 a221b1b6b9 fixed interface issues, stubs work again 2016-02-08 21:59:44 -05:00
VoR0220 078e3240db Update compiler.js 2016-02-08 21:59:44 -05:00
VoR0220 f864bb6098 compiling correctly and moved wall of code
is_a_token I think is no longer necessary methinks...because now you can just draw up your coin as is. At the very least the function needs to be rewritten. In addition I moved the wall of code that you had a TODO to move on...and I put it in its own separate function configureContractsParameters. Let me know what we should do with is_a_token.
2016-02-08 21:59:44 -05:00