Commit Graph

640 Commits

Author SHA1 Message Date
Andre Medeiros 05dea5844a Fix the way we pass compiler options instead of assuming via the environment 2018-08-30 13:27:18 -04:00
Andre Medeiros 2c2e54b613 Fix feedback 2018-08-30 13:01:13 -04:00
Andre Medeiros bc5de4ef90 Support modifiers 2018-08-30 12:49:41 -04:00
Anthony Laibe df651865c1 Enable no-else-return 2018-08-30 14:53:04 +01:00
Anthony Laibe 581b0c9f42 Fix lint 2018-08-30 10:04:58 +01:00
Anthony Laibe 98c785a4bb Fix register var and runcode 2018-08-30 10:04:58 +01:00
Anthony Laibe cc312a91b6 Refactor code runner 2018-08-30 10:04:58 +01:00
Anthony Laibe deb433c0fb Fix ens enabled 2018-08-30 10:04:58 +01:00
Anthony Laibe b9944b18d2 Pass web3 as params 2018-08-30 10:04:58 +01:00
Anthony Laibe 0a261b050d Name available in console 2018-08-30 10:04:58 +01:00
Anthony Laibe a8c5205b67 Extract global and web3js 2018-08-30 10:04:58 +01:00
Anthony Laibe 83c01cffdc Storage and Whisper connect 2018-08-30 10:04:58 +01:00
Anthony Laibe 00ccad1d9b Fix isavailable 2018-08-30 10:04:58 +01:00
Anthony Laibe 6c63179fa1 Fix lint 2018-08-30 10:04:58 +01:00
Anthony Laibe 6a2b91d99b Add console/require to codeRunner 2018-08-30 10:04:58 +01:00
Anthony Laibe 307b7dc8e7 EmbarkJS available 2018-08-30 10:04:58 +01:00
Anthony Laibe d772b4fdaf Add embarkjs to console 2018-08-30 10:04:58 +01:00
Iuri Matias bd49e3672c
Merge pull request #752 from embark-framework/feature/silent-already-deployed
Silent already deployed
2018-08-29 17:37:54 -04:00
Iuri Matias 7eb52c1f8f
Merge pull request #735 from embark-framework/bugfix/allow-zero-config-blockchain
Allow zero config in blockchain
2018-08-29 17:33:15 -04:00
Anthony Laibe c94b5574cf Silent already deployed 2018-08-29 11:23:24 +01:00
Michael Bradley, Jr 08fc21c890 gateway URLs: http -> https 2018-08-28 15:44:50 -05:00
Andre Medeiros 824353fb32 Lint 2018-08-28 13:51:55 -04:00
Andre Medeiros 543f883b7d Fix consolidation of coverage and compiler events; Cleanup 2018-08-28 13:39:18 -04:00
Andre Medeiros 4c127d1192 Events 2018-08-28 11:27:37 -04:00
Andre Medeiros 4e9d2823e5 Improvements 2018-08-28 11:27:37 -04:00
Andre Medeiros 5dcd679e12 Add for loops and variable declarations; Coverage improvements 2018-08-28 11:27:37 -04:00
Anthony Laibe 23f7ec396a Allow zero config in blockchain 2018-08-27 10:06:37 +01:00
Iuri Matias a0d864b8ae
Merge pull request #746 from embark-framework/bug_fix/tests-ws-bug
Fix test_app with a WS node
2018-08-24 15:53:54 -04:00
Jonathan Rainville 13e0d453ae fix websocket test, but still some hangs on second test run 2018-08-24 12:09:38 -04:00
Iuri Matias 864b41a2c2
Merge pull request #745 from embark-framework/deployIf
deployIf field + minor refactor
2018-08-24 10:33:58 -04:00
Iuri Matias 4305d63108 clarify param is not used 2018-08-24 10:31:40 -04:00
Iuri Matias eb57b358cd
Merge pull request #738 from embark-framework/bug_fix/double-embark
Enable multiple Embark runs at the same time
2018-08-24 10:09:45 -04:00
Iuri Matias ffbd39882a remove isTest 2018-08-24 09:25:47 -04:00
Iuri Matias c52142cb4c move always deploy on tests to deploy tracker 2018-08-24 08:59:56 -04:00
Iuri Matias 8f5b47adf4 add deployIf directive support 2018-08-23 18:00:52 -04:00
Iuri Matias a56431d19a refactor run actions for events to a reduce; add initial plug for shouldDeploy using deployIf 2018-08-23 16:25:28 -04:00
Jonathan Rainville b9c65f2d58 use listen(0) to find a port 2018-08-23 15:11:43 -04:00
Iuri Matias 5fe86e35d1
Merge pull request #736 from embark-framework/features/test-node-option
Add --node option for tests
2018-08-23 15:07:10 -04:00
Iuri Matias 26cde59fcb
Merge pull request #732 from embark-framework/feature/hide-ens-transaction-log
Hide ENS Transaction log
2018-08-23 14:57:36 -04:00
Jonathan Rainville 7e59b6f0d0 increment port multiple times if multiple embarks 2018-08-23 14:28:44 -04:00
Jonathan Rainville a38c317ecd check port for webserver, if in use ++ port 2018-08-23 14:14:10 -04:00
Jonathan Rainville 86f1cf51d2 enable node=embark 2018-08-23 12:54:43 -04:00
Anthony Laibe 39b9d6e1d8 PR feedback 2018-08-23 09:59:02 +01:00
Anthony Laibe 607c2657c4 Hide ENS Transaction log 2018-08-23 09:23:51 +01:00
Anthony Laibe 60c6bc3e48 Lint 2018-08-22 10:58:01 +01:00
Anthony Laibe b0e0989359 Move ipns function to ipfs 2018-08-22 10:48:45 +01:00
Michael Bradley, Jr cc07f1d3d7 config should be stringified only once 2018-08-21 18:33:39 -05:00
Iuri Matias 8b97b4efb1 move back dev_funds file 2018-08-21 16:17:02 -04:00
Iuri Matias 792e7dff5b lint is king 2018-08-21 16:12:57 -04:00
Anthony Laibe cc7dfbcc60 Remove ENS warning 2018-08-21 16:11:07 -04:00
Iuri Matias 6ae697f36a add solc options 2018-08-21 16:11:07 -04:00
hodlbank cc39931852 [m] Simplified networkId check for simulator. 2018-08-21 16:11:07 -04:00
Jonathan Rainville 824a234d76 enable register in privatenet and patch weird errors 2018-08-21 16:11:07 -04:00
hodlbank b9cd0cf74e [m] Setting up network id for simulator from blockchainConfig or options. 2018-08-21 16:11:07 -04:00
Jonathan Rainville 61d63e2f65 conflict in register 2018-08-21 16:11:07 -04:00
Jonathan Rainville d4abed24eb linting 2018-08-21 16:11:07 -04:00
Jonathan Rainville 5f3dd25e06 disable preregister in privatenet and fix conditions 2018-08-21 16:11:07 -04:00
Jonathan Rainville 2fe1b05492 use embarkJS secureSend 2018-08-21 16:11:06 -04:00
Jonathan Rainville c211430fbd use secureSend for deploy 2018-08-21 16:11:06 -04:00
Jonathan Rainville d6b814dc3e add secureSend to get estimate gas and interval the transactions 2018-08-21 16:11:06 -04:00
Jonathan Rainville 083c936351 create separate function for secure send 2018-08-21 16:10:22 -04:00
Anthony Laibe a7b0cea09b Console via IPC do not run on deploy 2018-08-21 16:10:22 -04:00
Iuri Matias f90132af1e remove line causing crash 2018-08-21 16:10:22 -04:00
Jonathan Rainville 8f3a42b926 catch $accounts in contract config 2018-08-21 16:09:49 -04:00
Jonathan Rainville 0b171401c6 log vyper errors 2018-08-21 16:09:49 -04:00
Anthony Laibe 926ed7c258 Fix transaction logger 2018-08-21 16:09:49 -04:00
Michael Bradley, Jr 4821997866 resolve ganache-cli bin using pkg-up 2018-08-21 16:09:48 -04:00
Iuri Matias 53cd27b87d move subscriptions listener to blockchain connector module 2018-08-21 16:09:48 -04:00
Andre Medeiros 8fe69c59dc More feedback 2018-08-21 16:09:48 -04:00
Anthony Laibe 774a14c850 Support old and new console plugin with a warning 2018-08-21 16:09:48 -04:00
Andre Medeiros f2939ae91b Address feedback 2018-08-21 16:09:48 -04:00
Anthony Laibe 0b183c0280 Make webserver start/stop use callback 2018-08-21 16:09:48 -04:00
Anthony Laibe 0924f2dfd0 Apply feedback 2018-08-21 16:09:48 -04:00
Anthony Laibe 27933774a9 Console command connect to ipc 2018-08-21 16:09:48 -04:00
Andre Medeiros 951e31ae6d Linting things 2018-08-21 16:09:13 -04:00
Andre Medeiros 19c81e187b Cleaning touches 2018-08-21 16:09:13 -04:00
Andre Medeiros 676f15fb49 Progress 2018-08-21 16:09:13 -04:00
Andre Medeiros 8e396a17d8 Progress 2018-08-21 16:09:13 -04:00
Andre Medeiros 253d3dd57c wip 2018-08-21 16:09:13 -04:00
Andre Medeiros c1e70a4185 Add coverage code 2018-08-21 16:09:13 -04:00
Jonathan Rainville d88d172c76 remove dependencyCount 2018-08-21 16:09:13 -04:00
Jonathan Rainville 3a621f3efd use async auto to deploy parallely 2018-08-21 16:09:13 -04:00
Anthony Laibe f0f9840757 Fix fuzzer while profiling 2018-08-21 16:09:13 -04:00
Iuri Matias 58ba4bde48 move simulator & proxy to blockchain process module 2018-08-21 16:07:58 -04:00
Iuri Matias dfbff4466f rename module 2018-08-21 16:07:58 -04:00
Iuri Matias 53d944e801 move contracts manager to its own module 2018-08-21 16:07:58 -04:00
Jonathan Rainville 5125cb06f7 hide contracts from dashboard when silent 2018-08-21 16:07:58 -04:00
Jonathan Rainville ea0d846012 hide logs for on Deploy if silent 2018-08-21 16:07:58 -04:00
Jonathan Rainville 2edd45ef55 set log function as trace if silent for contract deployer 2018-08-21 16:07:58 -04:00
Jonathan Rainville e5c498b59d hotfix network id comparison string vs number 2018-08-21 16:07:58 -04:00
Jonathan Rainville 5b5628d75c only set provider if provider is ENS 2018-08-21 16:07:58 -04:00
Jonathan Rainville a1e2fc057d remove provider!==ens 2018-08-21 16:07:58 -04:00
Jonathan Rainville b9363c54fa only set provider if provider is ENS 2018-08-21 16:05:59 -04:00
hodlbank c782f9b0a8 Enabling contract:deploy:beforeDeploy plugins to access deploymentAccount value by adding it into the contract object. 2018-08-21 16:05:59 -04:00
Jonathan Rainville 7eda40742d remove provider!==ens 2018-08-21 16:05:59 -04:00
Jonathan Rainville 73c2ee887d disable ens if it is not enabled 2018-08-21 16:05:59 -04:00
Jonathan Rainville 25ffd15984 fix stuff and move functions to utils 2018-08-21 16:05:59 -04:00
Jonathan Rainville 609c050576 change to command 2018-08-21 16:05:59 -04:00
Jonathan Rainville 42f46e427f remove duplicated register 2018-08-21 16:05:59 -04:00
Jonathan Rainville 363608287f fixes and linting 2018-08-21 16:05:59 -04:00
Jonathan Rainville ca32d7aac0 warn if mismatch on network id 2018-08-21 16:05:59 -04:00
Jonathan Rainville 5179eea56f revert trace 2018-08-21 16:05:58 -04:00
Jonathan Rainville ef9fbb5b6e remove comment 2018-08-21 16:05:58 -04:00
Jonathan Rainville 0204eb6d46 swarm adjustements 2018-08-21 16:05:58 -04:00
Iuri Matias 52462dbd3c fix line 2018-08-21 16:05:58 -04:00
Iuri Matias 358c9b2531 add find contract 2018-08-21 16:05:58 -04:00
Iuri Matias 77dd5b4944 remove engine dependency; use api 2018-08-21 16:05:58 -04:00
Iuri Matias 3a15804fda remove engine param 2018-08-21 16:05:58 -04:00
Jonathan Rainville ac91ffb967 fix using promise 2018-08-21 16:05:58 -04:00
Jonathan Rainville 212eb79754 fix small oopsies and make it work 2018-08-21 16:05:58 -04:00
Jonathan Rainville dd510ff6a1 add associate event in ens (not yet tested) 2018-08-21 16:05:58 -04:00
Jonathan Rainville 672393a877 conflict in embark js 2018-08-21 16:05:58 -04:00
Anthony Laibe b548f9efae PR feedback 2018-08-21 16:05:39 -04:00
Iuri Matias e19fca7d6f remove console log 2018-08-21 16:05:39 -04:00
Anthony Laibe 65edc47187 Adding default callback 2018-08-21 16:05:39 -04:00
Anthony Laibe d6849bf04f Add IPNS demo 2018-08-21 16:05:39 -04:00
Anthony Laibe 508b37163e Simply use promise 2018-08-21 16:04:22 -04:00
Anthony Laibe 2f8ca177e9 Make __embarkIPFS global 2018-08-21 16:04:22 -04:00
Anthony Laibe 4c4501a069 Use promise on ipns namesystem 2018-08-21 16:04:22 -04:00
Anthony Laibe 7194b045e6 Adding ipns 2018-08-21 16:04:22 -04:00
Anthony Laibe 174412bee1 Adding register 2018-08-21 16:04:22 -04:00
Anthony Laibe 1427b4596d Add ipns resolve 2018-08-21 16:04:22 -04:00
Iuri Matias 29b0d01f22 move processes into core 2018-08-21 16:04:22 -04:00
Iuri Matias 4919114f36 move blockchain connection code to its own module 2018-08-21 16:04:22 -04:00
Iuri Matias 567b0c75b8 get blockchain object from event bus 2018-08-21 16:04:22 -04:00
Iuri Matias 0c9dc48362 move code generator to a module 2018-08-21 16:04:22 -04:00
Iuri Matias 40e58dbcf2 move deployment to a module 2018-08-21 16:03:35 -04:00
Iuri Matias f9321776b1 move deployment to module 2018-08-21 16:03:35 -04:00
Iuri Matias 7fcc504873 fix requires 2018-08-21 16:03:35 -04:00
Iuri Matias 540afedbaf fix library manager init 2018-08-21 16:03:35 -04:00
Iuri Matias 2baaba07e6 move the versions manager to its own module 2018-08-21 16:03:35 -04:00
Iuri Matias 8a5ccac1ee fix requires 2018-08-21 16:03:35 -04:00
Iuri Matias 2f2b61da51 cleanup 2018-08-21 16:03:35 -04:00
Iuri Matias 5175b5710a update to fix tests 2018-08-21 16:02:18 -04:00
Iuri Matias 5bf89b0fea move copmiler to a module 2018-08-21 16:02:18 -04:00
Iuri Matias 9707b0076d move graph into a module 2018-08-21 16:02:18 -04:00
Iuri Matias dc86cbaccb move proxy out of core 2018-08-21 16:02:18 -04:00
Iuri Matias d7340b4f5a move storage processes to their own modules 2018-08-21 16:02:18 -04:00
Iuri Matias 2ed7238190 move process files into processes folder 2018-08-21 16:02:18 -04:00
Iuri Matias c32de30ca3 fix checking node connection 2018-08-21 16:02:18 -04:00
Iuri Matias d7c67ffcf7 move blockchain process related files into blockchain module 2018-08-21 16:02:18 -04:00
Iuri Matias 2ea982d0e5 move blockchain process to own module 2018-08-21 16:01:14 -04:00
Anthony Laibe df8ca76e28 Fix scope of the callback 2018-08-21 15:54:45 -04:00
Jonathan Rainville 40c363a310 only enabble register in dev 2018-08-21 15:53:39 -04:00
Jonathan Rainville c3ea2ff160 only preregister in dev 2018-08-21 15:53:21 -04:00
Jonathan Rainville bb9f058b15 small cleanups 2018-08-21 15:53:20 -04:00
Jonathan Rainville 24fe768e70 pre-dploy using the same function as register 2018-08-21 15:53:02 -04:00
Jonathan Rainville eee2f66a22 if no register config, dont register anything 2018-08-21 15:52:50 -04:00
Jonathan Rainville 79c542162c put register function in another module that can be used by embark and embark js 2018-08-21 15:52:36 -04:00
Jonathan Rainville 4f2d984081 fix using only_owner 2018-08-21 15:52:24 -04:00
Jonathan Rainville 297128290a fix lookup and also enable lookup for new subdomains 2018-08-21 15:52:05 -04:00
Jonathan Rainville 8102a13f58 fix only_owner to work when called by FIFSRegistrar 2018-08-21 15:51:38 -04:00
Jonathan Rainville 67da4e6a84 add function to register the domains from config 2018-08-21 15:51:38 -04:00
Jonathan Rainville 1b55af3cb7 conflict in embark js 2018-08-21 15:51:38 -04:00
Jonathan Rainville 2d0f34f215 add resolver contract 2018-08-21 15:48:33 -04:00
Jonathan Rainville 7d52c29f96 very wip working register 2018-08-21 15:47:56 -04:00
Anthony Laibe 7a34b9d675 Fix profile command
In case the contract don't exist or the profile
command don't have argument, embark don't crash
and return an error
2018-08-21 15:47:05 -04:00
Anthony Laibe b679d3031a Remove code dependencies to underscore 2018-08-21 15:47:05 -04:00
Richard Ramos aa806ce400 Allow topics to be optional when pubKey/privKey is used 2018-08-21 15:46:14 -04:00
Richard Ramos f56fd9e264 Removing code. Doesn't make sense to specify keys when everyone can read them 2018-08-21 15:46:14 -04:00
Richard Ramos 57f71d5504 Symmetric and private keys can be set in whisper 2018-08-21 15:44:46 -04:00
Jonathan Rainville 5498046d3f fix ens by using right addres depending on chain and also add isAvailable 2018-08-21 15:33:43 -04:00
Iuri Matias f9f25f33c8 fix swarm upload cmd registration 2018-08-21 15:31:55 -04:00
Iuri Matias 7c0c2550c3 use buildUrlFromConfig 2018-08-21 15:31:55 -04:00
Jonathan Rainville 054215ce21 wip changes 2018-08-21 15:31:55 -04:00
Iuri Matias 2baa6ed792 make linter happy 2018-08-21 15:30:11 -04:00
Iuri Matias 0c14834e57 fix plugin call 2018-08-21 15:30:11 -04:00
Iuri Matias fd9be8ac84 remove unused param 2018-08-21 15:30:11 -04:00
Iuri Matias c3382c9dd6 fix callback 2018-08-21 15:30:11 -04:00
Iuri Matias aaf127fd1d move storage config check to the constructor 2018-08-21 15:30:11 -04:00
Iuri Matias d5f77fb965 simplify getJson 2018-08-21 15:30:11 -04:00
Iuri Matias 97be8b7463 refactor storage config check 2018-08-21 15:30:11 -04:00
Iuri Matias 46a6d391cd simplify use of callback 2018-08-21 15:30:11 -04:00
Iuri Matias df97a6ac00 re-add register upload cmd api; refactor storage module initialization 2018-08-21 15:30:11 -04:00
Iuri Matias c3fc614cd8 simplify add set providers; validation can be done on the client isde 2018-08-21 15:30:11 -04:00
Iuri Matias e07d06fa4c make linter happy 2018-08-21 15:30:11 -04:00
Iuri Matias 2780b4eb2f fix upload callback 2018-08-21 15:30:11 -04:00
Iuri Matias f7ac654d92 fix getting params from upload field 2018-08-21 15:30:10 -04:00
Iuri Matias 3ddbe0ea3d fix logger 2018-08-21 15:30:10 -04:00
Iuri Matias c70e583557 get correct ipfs node depending on the config 2018-08-21 15:30:10 -04:00
Iuri Matias 8720f43e39 remove unneded assignments 2018-08-21 15:30:10 -04:00
Iuri Matias 9f05c43329 remove old code 2018-08-21 15:30:10 -04:00
Iuri Matias 7a612ea5df check swarm connection before attempting to connect 2018-08-21 15:30:10 -04:00
Iuri Matias 513659a53e check ipfs connection before attempting to connect 2018-08-21 15:30:10 -04:00
Iuri Matias 8384830066 re-add set providers call 2018-08-21 15:30:10 -04:00
Iuri Matias 651ef31bb5 fix start process 2018-08-21 15:30:10 -04:00
Iuri Matias cd6927c353 move setProviders to EmbarkJS 2018-08-21 15:30:10 -04:00
Iuri Matias ed2158b97a move setProviders to EmbarkJS 2018-08-21 15:30:10 -04:00
Iuri Matias 2e21dfa08a move setProviders to EmbarkJS 2018-08-21 15:30:10 -04:00
Iuri Matias 14710e06d8 use commands to request upload; let storage component figure out which one to call 2018-08-21 15:30:10 -04:00
Iuri Matias d5278b41de move fuzer & gasEstimator to profiler module 2018-08-21 15:30:10 -04:00
Jonathan Rainville deb54e535c fix indentation 2018-08-21 15:12:07 -04:00
emizzle 86ba7e3803 linting 2018-08-21 15:12:07 -04:00
emizzle efe649e4e6 Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-08-21 15:12:07 -04:00
VoR0220 6477b688c1 fixup
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:11:09 -04:00
VoR0220 06953d99c4 small correction
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:10:28 -04:00
VoR0220 d33c948dcf make it so that FIFSRegistrar isn't attempted to be deployed on livenet, ropsten, etc.
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:10:28 -04:00
VoR0220 0d2bedff84 get rid of else
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:10:28 -04:00
RJ Catalano aa23da2b6a fix line 2018-08-21 15:10:28 -04:00
VoR0220 a05fff3cfe catch errors and handle gracefully in ENS 2018-08-21 15:10:27 -04:00
emizzle 63a85d5af1 Abandons all storage initialisation routines if storage is disabled in config. 2018-08-21 15:08:25 -04:00
emizzle 170d8528eb When communication is disabled in config, do not run the module in embark.
Previous to this change, `Geth: WARN [06-25|16:46:26] origin 'embark' not allowed on WS-RPC interface` would appear in the logs when the module was run while disabled.

Updated the cors component so that when `rpcCorsDomain` and `wsOrigins` are set to `'auto'`, and all components are disabled `rpcCorsDomain` and `wsOrigins` are passed as a null parameter to geth as opposed to being passed as `'auto'`.
2018-08-21 15:08:25 -04:00
VoR0220 8c1bb07000 ensure that FIFS doesn't deploy on other test and main networks
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
Iuri Matias 78a9b31251 put contracts inside the contracts field 2018-08-21 15:03:34 -04:00
VoR0220 056b5a0ab9 bare bones bulk registration example spec
Signed-off-by: VoR0220 <catalanor0220@gmail.com>

add registrars to system

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
VoR0220 abef066652 small fix
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
VoR0220 c5a39649b9 convert to average
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
emizzle d2b89f88f9 Added cors for whisper 2018-08-21 15:03:34 -04:00
VoR0220 c3d2ef07e8 missing semicolon
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
VoR0220 cca71a1c66 back to promisification
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
VoR0220 88133b01a9 callback fixes and get rid of resolver interface
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
VoR0220 acc672944e more unnecessary contracts gotten rid of, and fixes made to Embarkjs file
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 6d62499716 get rid of unnecessary contracts for this iteration
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 78d892c7ca get rid of global web3 in ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 754a47fad8 get rid of register for now
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 5397a66d61 finish it all up
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 bb797edbe1 finish the deployment stage
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 734dc85825 add in new api for ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 e80ba7873a temp commit
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 300b2326ab starting to create registration and some changes to the deployment
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:33 -04:00
VoR0220 0308a65301 lint is lyfe
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:07 -04:00
VoR0220 dfd496ed94 attempt at deploying on dev net
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:07 -04:00
VoR0220 cbc0b1b9fd add ens contracts
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:01:36 -04:00
Michael Bradley, Jr 6d4870f862 whisper -- canonicalHost, defaultHost 2018-08-02 15:36:46 -05:00
Michael Bradley, Jr 0191ec9d24 webserver -- canonicalHost, defaultHost, dockerHostSwap 2018-08-02 15:32:08 -05:00
Iuri Matias 5a429d0574 make linter happy 2018-06-21 21:07:27 -04:00
Iuri Matias 0ba9990073 use EmbarkJS to initialize ens contracts and set ens contract only when embark is ready 2018-06-21 21:03:23 -04:00
Iuri Matias 9beaaa2a29 remove extra logs 2018-06-19 15:46:55 -04:00
Iuri Matias 5c6e6e50f9 use contractAddress instead of address 2018-06-18 10:22:04 -04:00
Iuri Matias 7706e276bf
Merge pull request #533 from embark-framework/bug_fix/ipfs-service-check-error
Storage provider initialisation fixes and improvements.
2018-06-15 18:09:30 -04:00
Iuri Matias 5614998f89
Merge pull request #525 from embark-framework/bug_fix/solc-loading-issue
Fix for solc loading issue
2018-06-15 17:28:53 -04:00
Iuri Matias 6845c7124b fix eqls 2018-06-15 17:24:19 -04:00
emizzle a100dd4260 Requested PR fixes
Added catch to live-plugin-manager install promise running in child process

Removed some `else`'s ;)

Only showing solc downloading spinner when `--nodashboard` option is used.

When installing package in main process and simultaneous downloads fail, all callbacks called with error.

Updated logging in npmTimer.
2018-06-15 17:06:59 -04:00
emizzle 5e20f27c99 Solc loading issue now fully resolved
Added better error checking for solidity compilation errors

Extracted timer functionality for downloading packages so it works across the main process and child processes.

Npm class is instantiated only once and reused for event commands.

Npm class can handle concurrent requests for the same package and callback the installation result for each request.
2018-06-15 17:06:59 -04:00
emizzle b96df79c59 Finally fixed the solc loading issue.
Moved the instantiation of the live-plugin-manager in to the child solc process. This allowed us to use the live-plugin-manager to require the installed solc file.

If the module is the same version as used by embark, the module is still loading using the normal require (from node_modules), as before.
2018-06-15 17:06:59 -04:00
emizzle eedcdc77a7 Solc loading issue now fully resolved
Added better error checking for solidity compilation errors

Extracted timer functionality for downloading packages so it works across the main process and child processes.

Npm class is instantiated only once and reused for event commands.

Npm class can handle concurrent requests for the same package and callback the installation result for each request.
2018-06-15 17:02:53 -04:00
emizzle 62f3b85bc4 Finally fixed the solc loading issue.
Moved the instantiation of the live-plugin-manager in to the child solc process. This allowed us to use the live-plugin-manager to require the installed solc file.

If the module is the same version as used by embark, the module is still loading using the normal require (from node_modules), as before.
2018-06-15 16:54:08 -04:00
VoR0220 ad6a6cf328 small fixes to ensure something of a better experience for error reporting on the profiler side
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-15 15:22:27 -05:00
Jonathan Rainville 6991215b40 catch error and warn if no provider 2018-06-15 10:04:19 -04:00
emizzle 24e1ed36f7 Fixed issue with IPFS not starting when swarm failed.
Added logging when starting of all storage providers has completed, and whether or not there were errors during starting of one of the providers.

Added parallel processing for starting dappConnection storage providers.

Removed irrelevant IPFS error from trace logs when IPFS not available.
2018-06-15 16:35:05 +10:00
Jonathan Rainville a62a74d162 callback error from runCode and use that in onDeploy codes 2018-06-14 11:10:31 -04:00
Iuri Matias e6ed016cc0
Merge pull request #510 from embark-framework/gastimation
Gastimation
2018-06-12 14:11:28 -04:00
VoR0220 41f77793f4 more patchy mcpatchface
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:54:41 -05:00
VoR0220 3ede75ce50 Merge branch 'gastimation' of github.com:embark-framework/embark into gastimation 2018-06-12 12:52:36 -05:00
VoR0220 258d9b3fe0 patchy mcpatchface
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:52:23 -05:00
Iuri Matias a88513f58d Merge branch 'gastimation' of github.com:embark-framework/embark into gastimation 2018-06-12 13:24:30 -04:00
Iuri Matias 1dcd30b3a8 don't crash and instead inform user if contract cannot be profiled 2018-06-12 13:24:21 -04:00
VoR0220 acf67071c8 fix name
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:21:31 -05:00
VoR0220 cd67500dd1 minor cleanup
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:16:19 -05:00
VoR0220 539c035aa6 unnecessary declaration
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:14:02 -05:00