Jonathan Rainville
d3366197b3
add interval in case deployment gets stuck
2018-07-09 16:50:38 -04:00
Jonathan Rainville
325800bc59
set isDev as default if there is no blockchain file
2018-07-09 15:20:47 -04:00
Jonathan Rainville
06a6948173
rename to built
2018-07-09 14:26:10 -04:00
Jonathan Rainville
e19ee1f558
log error when pipeline dies
2018-07-09 13:50:03 -04:00
Jonathan Rainville
d0525c7e5b
Merge pull request #614 from embark-framework/bug_fix/events-dont-wrok
...
Just add back the gas cost PR
2018-07-09 11:25:25 -04:00
Iuri Matias
e2c0297df5
fix extractZip
2018-07-09 16:30:27 +03:00
Iuri Matias
7929abcdfd
Merge pull request #611 from embark-framework/refactor_cleanup
...
remove unneeded variables or bad coupling
2018-07-09 11:18:11 +03:00
Iuri Matias
455753f990
make linter happy
2018-07-09 11:15:13 +03:00
Iuri Matias
188d175735
Merge pull request #613 from embark-framework/bug_fix/maincontext-error
...
Fixed __mainContext error
2018-07-09 11:02:21 +03:00
Iuri Matias
d46ccb28c5
Merge pull request #612 from embark-framework/bug_fix/proxy-error-message
...
Fix proxy error message "Error forwarding requests to blockchain/simulator [Object(object)]"
2018-07-09 10:59:38 +03:00
emizzle
5c385b0e82
Fixed __mainContext error
...
There was a condition checking if blockchain config was disabled and if so, do not generate any provider code, which is where the `__mainContext` was being defined. This was changed to generate the `__mainContext` code first, then if blockchain is disabled, return the already generated code.
2018-07-09 10:57:14 +10:00
emizzle
ee6124427a
Proxy error message "Error forwarding requests to blockchain/simulator [Object(object)]" was showing in console. Have replace [Object(object)] with `error.message`
2018-07-09 09:51:25 +10:00
Iuri Matias
4aaf83a064
make linter happy
2018-07-09 01:21:27 +03:00
Iuri Matias
28a9b0e940
fix plugin call
2018-07-08 23:41:37 +03:00
Iuri Matias
6e5aad939c
remove unused param
2018-07-08 23:41:26 +03:00
Iuri Matias
ac349f5819
fix callback
2018-07-08 23:41:09 +03:00
Iuri Matias
0af55a4f5d
fix console log for undefined params
2018-07-08 23:40:32 +03:00
Iuri Matias
2c478e26ff
move storage config check to the constructor
2018-07-08 21:28:43 +03:00
Iuri Matias
1bd0e8966b
simplify getJson
2018-07-08 21:24:19 +03:00
Iuri Matias
768138c5b6
refactor storage config check
2018-07-08 21:14:44 +03:00
Iuri Matias
700b2199bd
simplify use of callback
2018-07-08 20:43:41 +03:00
Iuri Matias
9592f3e69b
re-add register upload cmd api; refactor storage module initialization
2018-07-08 20:40:06 +03:00
Iuri Matias
be1d9cc502
simplify add set providers; validation can be done on the client isde
2018-07-08 00:56:15 +03:00
Iuri Matias
a5c6c38b5e
make linter happy
2018-07-08 00:46:15 +03:00
Iuri Matias
99876ef083
fix upload callback
2018-07-08 00:02:46 +03:00
Iuri Matias
082d7c879a
fix getting params from upload field
2018-07-07 22:16:58 +03:00
Iuri Matias
fcd1a4df99
fix logger
2018-07-07 22:00:42 +03:00
Iuri Matias
225414e61a
get correct ipfs node depending on the config
2018-07-07 21:56:37 +03:00
Iuri Matias
b51eab3418
remove unneded assignments
2018-07-07 21:23:51 +03:00
Iuri Matias
ee7fd2661a
remove old code
2018-07-07 21:14:55 +03:00
Iuri Matias
90b9d94e64
check swarm connection before attempting to connect
2018-07-07 20:56:34 +03:00
Iuri Matias
968b06860c
check ipfs connection before attempting to connect
2018-07-07 20:47:40 +03:00
Iuri Matias
2f828c72d1
re-add set providers call
2018-07-07 19:49:18 +03:00
Iuri Matias
3bb97a1bb1
fix start process
2018-07-07 19:29:04 +03:00
Iuri Matias
08735a689b
move setProviders to EmbarkJS
2018-07-07 18:36:34 +03:00
Iuri Matias
8587f2cbdb
move setProviders to EmbarkJS
2018-07-07 18:36:16 +03:00
Iuri Matias
aa3023d5f2
move setProviders to EmbarkJS
2018-07-07 18:29:45 +03:00
Iuri Matias
31025fbd9b
remove no longer used plugin cmd api
2018-07-07 18:11:58 +03:00
Iuri Matias
44f5186af1
use commands to request upload; let storage component figure out which one to call
2018-07-07 18:11:45 +03:00
Iuri Matias
6bb8051d83
add todo
2018-07-07 16:59:00 +03:00
Iuri Matias
448593b36f
move asset files check from index to pipeline; index shouldn't know about the internals
2018-07-07 16:51:24 +03:00
Iuri Matias
59478f19ff
remove unused parameter
2018-07-07 16:34:56 +03:00
Iuri Matias
20f782607c
move fuzer & gasEstimator to profiler module
2018-07-07 16:30:47 +03:00
Iuri Matias
d40ae2f374
Merge pull request #606 from embark-framework/bug_fix/events-dont-wrok
...
Fix events usage with websocket providers
2018-07-07 00:17:54 +03:00
Iuri Matias
82df17b376
Merge pull request #603 from embark-framework/template_downloader
...
Template downloader
2018-07-07 00:11:51 +03:00
Jonathan Rainville
2077f88312
fix provider
2018-07-06 15:30:16 -04:00
Jonathan Rainville
c832b24e2a
fix conflict in test and provider
2018-07-06 15:16:04 -04:00
Jonathan Rainville
8ec5d53aa4
display gas cost of each test
2018-07-06 15:11:19 -04:00
Jonathan Rainville
555e1f3c9e
set color of gas cost
2018-07-06 15:11:18 -04:00
Jonathan Rainville
2648d0536e
add option to show details of gas cost for each contract
2018-07-06 15:11:18 -04:00
Jonathan Rainville
18fa4307d7
log gas cost at the end of each suite
2018-07-06 15:11:18 -04:00
Jonathan Rainville
c7876bc7cd
add reporter with event to get receipt
2018-07-06 15:11:18 -04:00
Jonathan Rainville
5fcf234939
remove useless change
2018-07-06 14:48:33 -04:00
Jonathan Rainville
415df3312f
fix webserver errors
2018-07-06 14:43:01 -04:00
Iuri Matias
98e61a5cb0
simplify utils exports
2018-07-06 18:06:55 +03:00
Iuri Matias
a4b95d13d5
use utils extractZip instead of lib directly
2018-07-06 17:54:52 +03:00
Iuri Matias
440baeb323
refactor install template code
2018-07-06 11:52:47 +03:00
Iuri Matias
215799f2bd
make linter happy
2018-07-06 11:41:37 +03:00
Iuri Matias
ee81b7e209
add support to download a template
2018-07-06 11:38:09 +03:00
Jonathan Rainville
817c4a6209
wip working
2018-07-05 08:38:19 -04:00
Iuri Matias
0f6ea45f33
check for cmd not found in stderr
2018-07-04 16:46:02 +03:00
Iuri Matias
ace329ec6e
make linter happy
2018-07-04 16:37:09 +03:00
Iuri Matias
1a8989361e
ignore stderr since geth outputs normal logs to it
2018-07-04 16:13:22 +03:00
Jonathan Rainville
66b7d50d61
remove provider-engine as it has been creating lots of issues
2018-07-03 16:39:17 -04:00
Jonathan Rainville
08358fce0a
fix account initialization and address use
2018-07-03 15:00:57 -04:00
Iuri Matias
f43b924477
fix metamask check for non dev environment
2018-06-29 18:00:21 -04:00
Iuri Matias
aff102a169
detect if there is a connection error and pass it down to the ready function
2018-06-29 17:49:17 -04:00
Jonathan Rainville
92c8f00ba8
wip fixes
2018-06-29 17:09:19 -04:00
Jonathan Rainville
962a9c5b11
fix syncmode
2018-06-29 16:42:01 -04:00
Jonathan Rainville
62c6b57f45
conflict in provider
2018-06-29 13:56:22 -04:00
Iuri Matias
dfff83d42d
Merge pull request #590 from embark-framework/features/old-mining
...
Go back to old mining and use IPC to tell geth when to mine
2018-06-29 11:26:47 -04:00
Jonathan Rainville
e7eee572f4
fix when using mining script
2018-06-28 10:37:10 -04:00
Iuri Matias
892285d415
improve metamask warning
2018-06-28 09:50:09 -04:00
Jonathan Rainville
f29760e051
fix miner
2018-06-28 09:17:19 -04:00
Jonathan Rainville
95b20e2db9
only put isDev when specifically set
2018-06-27 14:32:21 -04:00
Jonathan Rainville
1c801bc10f
make it work
2018-06-27 14:32:21 -04:00
Jonathan Rainville
26b6ff9044
change fund account function
2018-06-27 14:32:21 -04:00
Jonathan Rainville
b121f1dbe5
add geth miner. Needs to change eth and web3
2018-06-27 14:32:21 -04:00
Jonathan Rainville
e9b4179af9
use right path depending of os
2018-06-27 14:32:21 -04:00
Jonathan Rainville
b6a6bf3e02
revert caca code
2018-06-27 14:32:21 -04:00
Jonathan Rainville
02e4c0257f
conflict in package json
2018-06-27 14:32:13 -04:00
Jonathan Rainville
87474aa291
fix indentation
2018-06-27 14:31:42 -04:00
Jonathan Rainville
b19c073b02
fix initChain to not always generate an account and the genesis block
2018-06-27 14:31:42 -04:00
emizzle
e0fcafb8c4
linting
2018-06-27 11:10:33 +10:00
emizzle
9f33a05d82
Removed p-iteration from embark altogether.
...
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-06-27 10:51:53 +10:00
Iuri Matias
d4628bf20e
reduce ping time so processes die faster
2018-06-26 16:46:21 -04:00
Iuri Matias
3bea80a820
Merge pull request #573 from embark-framework/bug_fix/blockchain-kill-causes-error
...
Handle geth process exit via crash/kill and also via killing `embark blockchain`
2018-06-26 16:24:11 -04:00
Iuri Matias
88132b7b6a
Merge pull request #581 from embark-framework/bug_fix/whisper-cors
...
When communication is disabled in config, do not run the module in em…
2018-06-26 16:23:06 -04:00
Iuri Matias
2250e87294
Merge pull request #582 from embark-framework/bug_fix/simple-ipfs-active-when-disabled
...
Abandons all storage initialisation routines if storage is disabled i…
2018-06-26 16:19:41 -04:00
RJ Catalano
518e96585c
Merge pull request #585 from embark-framework/gracefullyErrorENS
...
small correction
2018-06-26 15:19:02 -05:00
VoR0220
b86ae2e9f6
fixup
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-26 14:56:23 -05:00
VoR0220
93feea7c6d
small correction
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-26 14:44:29 -05:00
RJ Catalano
2c6bdc3204
Merge pull request #584 from embark-framework/fixDeploymentAttempts
...
make it so that FIFSRegistrar isn't attempted to be deployed on liven…
2018-06-26 13:53:49 -05:00
VoR0220
48a6e10f9f
make it so that FIFSRegistrar isn't attempted to be deployed on livenet, ropsten, etc.
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-26 13:32:53 -05:00
VoR0220
5e7cd6a88b
get rid of else
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-26 13:28:28 -05:00
RJ Catalano
8bf79e704d
fix line
2018-06-26 13:26:36 -05:00
VoR0220
1d7851e2ff
catch errors and handle gracefully in ENS
2018-06-26 13:26:36 -05:00
Iuri Matias
ac6aeaac50
make linter happy
2018-06-26 13:47:01 -04:00
Iuri Matias
e2ab4c4fa3
use EmbarkJS to initialize ens contracts and set ens contract only when embark is ready
2018-06-26 13:45:23 -04:00
emizzle
6f539198da
Abandons all storage initialisation routines if storage is disabled in config.
2018-06-26 14:26:54 +10:00
emizzle
d32708fcde
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-06-26 13:34:52 +10:00
emizzle
f67a807ac8
Updated online/offline event checks so they are run during initialisation.
...
Changed the online event to `once` and set it to be bound every time the node goes offline.
The above changes handle the case where:
1) `embark run` runs and starts geth.
2) geth is killed manually
3) `embark blockchain` is run in separate process to restart geth
4) the `embark run` process detects this change and restarts the web3 provider and recompiles/deploys/builds
Every time `embark blochain` is restarted, an error is appended and all are emitted from the `eth-block-tracker`. This is a bug but can't figure out where it originates. The downside is that if, for example, `embark blockchain` is restarted 4 times, there will be 4 errors emitted from the `eth-block-tracker`. Because of this, errors emitted from `eth-block-tracker` have been reduced to trace to avoid clogging the logs.
2018-06-26 13:02:41 +10:00
emizzle
4ce7a179fd
Handle geth process exit via crash/kill and also via killing `embark blockchain`
...
First case - run `embark run` which starts a blockchain node, then manually kill the `geth` process. Would throw `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` error and ruins the dashboard.
Second case, 1) run `embark blockchain` 2) run `embark run` 3) kill `embark blockchain` throws the error `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` and ruins the dashboard.
The first case was solved by having the child blockchain process that spawns geth listen for geth exit, then kill itself.
The second case required updating of `eth-block-tracker` to v4.0.1 inside of the `embark-web3-provider-engine`. v4.0.1 was a major version update and introduced breaking changes. Those changes were handled inside of `embark-web3-provider-engine`, covered in **blocker** PR https://github.com/jrainville/provider-engine/pull/1 .
2018-06-26 13:02:41 +10:00
Iuri Matias
0ba5f1a1b3
Merge pull request #572 from embark-framework/bug_fix/embark-build-writes-pipeline
...
Fix for `embark build --contracts` writing into the pipeline
2018-06-25 13:54:07 -04:00
Iuri Matias
351917a5bc
don't use -h option due to bug in ethersim fork v2
2018-06-25 13:23:22 -04:00
RJ Catalano
b78971147b
Merge pull request #575 from embark-framework/bug_fix/stop-test-provider
...
stop provider when resetting providers
2018-06-22 13:13:56 -05:00
RJ Catalano
0c15ee9cef
Merge pull request #574 from embark-framework/bug_fix/graph_ignores_relationships
...
Fix for --skip-undeployed is not specified
2018-06-22 13:01:01 -05:00
Jonathan Rainville
1e36950e24
stop provider when reseting providers
2018-06-22 13:19:32 -04:00
Jonathan Rainville
1e72a50b3b
skip build if cmpile only
2018-06-22 11:12:34 -04:00
Richard Ramos
15d457bf60
Fix for skip-undeployed is not specified
2018-06-22 09:41:53 -04:00
emizzle
53bda087fa
Fix for `embark build --contracts` writing into the pipeline
2018-06-22 15:26:43 +10:00
emizzle
befa8e8f22
Fix for embark upload failing when embark-solc plugin is installed.
...
It was simply too fast with the solc plugin and the blockchain node was not yet ready before solc would try to compile and deploy, and would error out while estimating gas costs.
2018-06-22 15:17:51 +10:00
Iuri Matias
9fb19ed78b
Merge pull request #569 from embark-framework/registration
...
Registrar deployment
2018-06-21 14:45:50 -04:00
VoR0220
e5ad90719b
ensure that FIFS doesn't deploy on other test and main networks
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-21 12:57:41 -05:00
Iuri Matias
4589803003
put contracts inside the contracts field
2018-06-21 13:24:41 -04:00
VoR0220
e3bdbd520f
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-06-21 11:24:31 -05:00
Iuri Matias
109e5171c4
Merge pull request #566 from embark-framework/features/para-deploy
...
Async contract deploy (parallel deploy prequel)
2018-06-20 16:57:24 -04:00
Iuri Matias
12d03d8f82
Merge pull request #565 from embark-framework/averageProfile
...
convert to average
2018-06-20 16:41:00 -04:00
Iuri Matias
f16bb2c30b
Merge pull request #564 from embark-framework/features/whisper-cors
...
Added cors for whisper
2018-06-20 16:40:46 -04:00
Iuri Matias
4122bec122
Merge pull request #568 from embark-framework/next
...
merge Next
2018-06-20 16:40:23 -04:00
VoR0220
b41d6b312c
small fix
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-20 14:17:05 -05:00
Jonathan Rainville
832e757262
add triple equals
2018-06-20 14:06:15 -04:00
Jonathan Rainville
150b5170c4
fix tests using new dependencies
2018-06-20 13:56:43 -04:00
Jonathan Rainville
4298e18655
make groups of dependencyCount to do async by group
2018-06-20 11:15:47 -04:00
VoR0220
a050a97a62
convert to average
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-20 09:38:51 -05:00
emizzle
51eb5a1f65
Added cors for whisper
2018-06-20 16:19:25 +10:00
Iuri Matias
650eb5e359
disable ipc client
2018-06-19 17:33:24 -04:00
Iuri Matias
aa5063e5ef
Merge pull request #562 from embark-framework/remove_extra_messages
...
remove extra logs
2018-06-19 15:49:37 -04:00
Iuri Matias
9beaaa2a29
remove extra logs
2018-06-19 15:46:55 -04:00
Jonathan Rainville
7f2f841e28
intercept logs by adding the name only
2018-06-19 15:01:03 -04:00
Jonathan Rainville
cd4bce8d12
enbale multiple arguments in dashboard
2018-06-19 15:00:56 -04:00
Jonathan Rainville
88cc4d05c0
enable logger to log multiple arguments
2018-06-19 15:00:51 -04:00
Iuri Matias
6a031e1dab
warn if old cmd is used
2018-06-19 14:07:14 -04:00
Iuri Matias
9574562602
Merge pull request #558 from embark-framework/bug_fix/console-dir-test
...
Fix testing a directory without ending slash
2018-06-19 11:40:44 -04:00
Jonathan Rainville
c1f29fdea4
fix test directory without ending slash
2018-06-19 10:58:09 -04:00
Jonathan Rainville
01277f6014
start web3 service so getGasPrice is available
2018-06-19 10:03:46 -04:00
Jonathan Rainville
1a91f3c688
ping endpoint before connecting to see if available
2018-06-19 09:24:36 -04:00
Jonathan Rainville
aa02aeb74c
move pingEndpoint to utils
2018-06-19 09:02:19 -04:00
emizzle
ba66d763fe
Add support for infura network hosts with api key.
...
Fix bug with non-development code generation.
2018-06-19 15:14:37 +10:00
emizzle
b56def7c57
Updated web3 endpoint for use with infura api key and https
...
Allows `protocol` to be specified in config/contract.js[on] for `<env>/deployment/protocol`.
2018-06-19 14:43:55 +10:00
Iuri Matias
537feccb52
Merge pull request #550 from embark-framework/deployENSonDevNets
...
Deploy ens on dev nets
2018-06-18 16:35:12 -04:00
VoR0220
7eac4df38d
missing semicolon
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 15:07:42 -05:00
VoR0220
a9a460f10e
back to promisification
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 14:57:43 -05:00
VoR0220
ca5a60b5f0
callback fixes and get rid of resolver interface
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 14:31:22 -05:00
VoR0220
800269d97b
more unnecessary contracts gotten rid of, and fixes made to Embarkjs file
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 13:54:37 -05:00
Jonathan Rainville
ed1ac3af2e
register web3 after init
2018-06-18 14:33:25 -04:00
VoR0220
77001ee8f8
get rid of unnecessary contracts for this iteration
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 13:15:54 -05:00
VoR0220
220800fcc3
get rid of global web3 in ens
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 12:52:02 -05:00
VoR0220
f6fccd4588
get rid of register for now
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 12:45:21 -05:00
VoR0220
c568b36977
finish it all up
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 12:43:52 -05:00
Iuri Matias
329af9f348
warn about EmbarkSpec deprecation
2018-06-18 12:46:39 -04:00
VoR0220
4b8fd88ebc
finish the deployment stage
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 10:58:42 -05:00
VoR0220
417b5145a4
add in new api for ens
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 10:45:34 -05:00
VoR0220
1979d48bb9
temp commit
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 10:45:34 -05:00
VoR0220
6de3274fa6
starting to create registration and some changes to the deployment
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 10:45:34 -05:00
VoR0220
dc71b1725a
lint is lyfe
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 10:45:34 -05:00
VoR0220
e8d55bdb0d
attempt at deploying on dev net
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 10:45:34 -05:00
VoR0220
42fe72392b
add ens contracts
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-18 10:45:34 -05:00
Iuri Matias
b7d6bc1c45
Merge pull request #547 from embark-framework/contracts_api_fix
...
Contracts api fix
2018-06-18 11:38:27 -04:00
Iuri Matias
a0a2d16cb3
Merge pull request #546 from embark-framework/fix_contract_tracking_issue
...
fix contract tracking issue
2018-06-18 11:38:16 -04:00
Iuri Matias
7bf1f2420f
Merge pull request #545 from embark-framework/debug_options
...
add debug option correctly
2018-06-18 11:37:48 -04:00
Iuri Matias
231e48cecb
add todo
2018-06-18 11:37:23 -04:00
Iuri Matias
b34ddf32cf
refactor pluginPath
2018-06-18 11:27:29 -04:00
Iuri Matias
e0e3887aaf
add command event to add a contract file; fix internal plugin Path
2018-06-18 11:25:43 -04:00
Iuri Matias
5c6e6e50f9
use contractAddress instead of address
2018-06-18 10:22:04 -04:00
Iuri Matias
76ab330546
add debug option
2018-06-18 09:44:16 -04:00
Jonathan Rainville
a988962aed
change package name
2018-06-18 09:26:17 -04:00
emizzle
bb4fdbe369
Run `ipfs init` for the case when user has installed ipfs, but not initialised it.
...
Runs `ipfs daemon` first, reads stdout for message regarding ipfs not initialised, then runs `ipfs init`, then re-runs `ipfs daemon`.
2018-06-18 22:34:42 +10: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
37ab60d6de
Merge pull request #538 from embark-framework/features/ws-node
...
Enable connection to websocket node
2018-06-15 18:01:12 -04:00
emizzle
15faf3a336
Fix for starting embark with a contract that has an error, then fixing, seems to still break the pipeline.
...
Needed to reset the `compileError` flag once compilation succeeded.
2018-06-15 17:31:17 -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
440593f9f0
Merge pull request #539 from embark-framework/bug_fix/simple-app-watch
...
fix watch for simple apps
2018-06-15 17:24:55 -04:00
Iuri Matias
6b11fb9e45
Merge pull request #540 from embark-framework/profilerErrorLogFix
...
small fixes to ensure something of a better experience for error reports
2018-06-15 17:24:35 -04:00
Iuri Matias
6845c7124b
fix eqls
2018-06-15 17:24:19 -04:00
emizzle
ffe0157543
removed unneeded comment
2018-06-15 17:06:59 -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
ceb57cfdf6
removed unneeded log message
2018-06-15 17:02:54 -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
Iuri Matias
5ee9843973
Merge pull request #541 from embark-framework/bug_fix/testnet-hang
...
remove deprecated geth params
2018-06-15 16:46:16 -04:00
Iuri Matias
dae9e4ae7f
Merge pull request #460 from embark-framework/fix_overridecompiler
...
Allow plugins to override core compilers
2018-06-15 16:39:09 -04:00
Jonathan Rainville
d77083ee8c
enable syncMode
2018-06-15 16:33:59 -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
e9becec515
sorry senior lint
2018-06-15 15:58:19 -04:00
Jonathan Rainville
2996f51314
fix watch for simple apps
2018-06-15 15:50:23 -04:00
Jonathan Rainville
eb0ccbe7cc
remove useless param
2018-06-15 15:22:06 -04:00
Jonathan Rainville
55bd69baa5
rmeove logs
2018-06-15 15:18:39 -04:00
Jonathan Rainville
f32ac90e71
enable connecting to ws node in tests
2018-06-15 15:16:55 -04:00
Jonathan Rainville
c8c0a5c42f
enable websocket provider
2018-06-15 14:35:50 -04:00
VoR0220
391777d5bf
fix test app config and swap olympic for rinkeby as testnet option
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-15 13:18:37 -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
6d4d904825
sort by internal so first ones are internal and plugins last
2018-06-14 16:58:03 -04:00
Jonathan Rainville
930aa72bc6
revert original changes, sorry Ramos
2018-06-14 16:57:38 -04:00
Richard Ramos
dac06c10ea
Change based in code review
2018-06-14 16:29:23 -04:00
Richard Ramos
02de6089ed
Changed code to allow registering more than one compiler for same ext.
2018-06-14 16:29:23 -04:00
Richard Ramos
a058fbd349
Removing warning from appveyor
2018-06-14 16:29:23 -04:00