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