Commit Graph

284 Commits

Author SHA1 Message Date
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