3499 Commits

Author SHA1 Message Date
emizzle
22e125bc84 Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-08-22 19:12:11 -04:00
VoR0220
177573527f make it so that FIFSRegistrar isn't attempted to be deployed on livenet, ropsten, etc.
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:11:47 -04:00
RJ Catalano
4b1f7071d1 fix line 2018-08-22 19:11:47 -04:00
VoR0220
f8f1907838 catch errors and handle gracefully in ENS 2018-08-22 19:11:47 -04:00
emizzle
3f0f02b9ef 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-08-22 19:11:47 -04:00
emizzle
22a2b50a22 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-08-22 19:11:41 -04:00
Richard Ramos
4129c57622 Fix for skip-undeployed is not specified 2018-08-22 19:10:50 -04:00
VoR0220
271ee3d5fd ensure that FIFS doesn't deploy on other test and main networks
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:45 -04:00
Iuri Matias
998ae105f3 put contracts inside the contracts field 2018-08-22 19:10:45 -04:00
VoR0220
8425e9b69b 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-22 19:10:45 -04:00
Jonathan Rainville
cbe9a47662 fix tests using new dependencies 2018-08-22 19:10:45 -04:00
Jonathan Rainville
626ec2c60c make groups of dependencyCount to do async by group 2018-08-22 19:10:45 -04:00
Jonathan Rainville
54c6507665 remove log 2018-08-22 19:10:44 -04:00
Jonathan Rainville
f25453ab12 intercept logs by adding the name only 2018-08-22 19:10:44 -04:00
VoR0220
4a95c1598f callback fixes and get rid of resolver interface
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:44 -04:00
VoR0220
7acf74879b more unnecessary contracts gotten rid of, and fixes made to Embarkjs file
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:44 -04:00
VoR0220
860a33a718 get rid of unnecessary contracts for this iteration
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:31 -04:00
VoR0220
ad53da1eaa get rid of global web3 in ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:31 -04:00
VoR0220
c6469aab28 get rid of register for now
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:31 -04:00
VoR0220
7e41e448fe package lock
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:30 -04:00
VoR0220
ee44609961 temp commit
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:30 -04:00
VoR0220
1f832bac1c starting to create registration and some changes to the deployment
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:30 -04:00
VoR0220
4c4a9f4918 package lock
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:23 -04:00
VoR0220
ab1e372283 attempt at deploying on dev net
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:22 -04:00
VoR0220
b979247fce add ens contracts
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:10:22 -04:00
Iuri Matias
dba9330ec1 fixes due to bad rebase 2018-08-22 18:36:34 -04:00
Iuri Matias
15aa5d6e75 fixes due to bad rebase 2018-08-22 18:32:43 -04:00
Iuri Matias
b24c9e296b fixes due to bad rebase 2018-08-22 18:21:44 -04:00
Iuri Matias
d1e10e551a fixes due to bad rebase 2018-08-22 18:16:03 -04:00
Iuri Matias
8be7c89650 fixes due to bad rebase 2018-08-22 18:04:52 -04:00
Richard Ramos
a085bcba03 Changes based on code review
- Style changes for not requiring "else" in handlebar helpers
- Changed build to async
2018-08-22 16:30:46 -04:00
Richard Ramos
d458041790 Fixing template 2018-08-22 16:30:46 -04:00
Richard Ramos
254b2a9c7b Reorganizing template 2018-08-22 16:30:46 -04:00
Richard Ramos
8d09f07069 Simplified error handling 2018-08-22 16:30:46 -04:00
Richard Ramos
ed252172fe Uncommented error throwing 2018-08-22 16:30:46 -04:00
Richard Ramos
cbebc4aad9 Fixing framework loading 2018-08-22 16:30:46 -04:00
Richard Ramos
4fbbdf9cf6 Fixed plugin loading logic 2018-08-22 16:30:46 -04:00
Richard Ramos
c4031d8814 Added payable functionality 2018-08-22 16:30:46 -04:00
Richard Ramos
7dd2d1e6ea Disabling button while loading 2018-08-22 16:30:46 -04:00
Richard Ramos
6a0a9602b7 Base logic for invoking send functions and showin results 2018-08-22 16:30:46 -04:00
Richard Ramos
2e17ecfbc6 Alert for error invoking functions 2018-08-22 16:30:46 -04:00
Richard Ramos
3b969d0171 Handling boolean parameters 2018-08-22 16:30:46 -04:00
Richard Ramos
827c3e901f Form generation for view/constant/pure functions 2018-08-22 16:30:46 -04:00
Richard Ramos
7378e7c796 Importing contract and bootstrap css 2018-08-22 16:30:46 -04:00
Richard Ramos
23a9541896 JS generation + embark.json configuration update 2018-08-22 16:30:46 -04:00
Richard Ramos
ff19ae0917 Addid basic templating to start building UI from here 2018-08-22 16:30:46 -04:00
Richard Ramos
adf7340ab8 Adding base command logic for scaffolding generation 2018-08-22 16:30:46 -04:00
Anthony Laibe
f782af89bf Add IPNS demo 2018-08-22 16:30:23 -04:00
Iuri Matias
b7119d844c move processes into core 2018-08-22 16:29:52 -04:00
Iuri Matias
3be7782237 move blockchain connection code to its own module 2018-08-22 16:29:36 -04:00