Iuri Matias
019750b85f
cleanup
2018-08-22 19:17:45 -04:00
Iuri Matias
aaa65747c1
remove debug
2018-08-22 19:17:35 -04:00
Iuri Matias
5a7fe6b188
first stab at refactor blockchain launcher
2018-08-22 19:17:35 -04:00
Michael Bradley, Jr
b99a8d3804
blockchain -- defaultHost, dockerHostSwap
2018-08-22 19:17:29 -04:00
Jonathan Rainville
76eb365d37
only enabble register in dev
2018-08-22 19:17:28 -04:00
Jonathan Rainville
1f9bdd6900
small cleanups
2018-08-22 19:17:28 -04:00
Jonathan Rainville
0ca006679b
pre-dploy using the same function as register
2018-08-22 19:17:28 -04:00
Jonathan Rainville
743a9cccc6
if no register config, dont register anything
2018-08-22 19:17:28 -04:00
Jonathan Rainville
b8ec833846
put register function in another module that can be used by embark and embark js
2018-08-22 19:17:28 -04:00
Jonathan Rainville
4958304a50
fix using only_owner
2018-08-22 19:17:28 -04:00
Jonathan Rainville
9eb6e9a949
fix lookup and also enable lookup for new subdomains
2018-08-22 19:17:27 -04:00
Jonathan Rainville
72cf9f2430
fix only_owner to work when called by FIFSRegistrar
2018-08-22 19:17:27 -04:00
Jonathan Rainville
b6ffd73b22
add function to register the domains from config
2018-08-22 19:17:27 -04:00
Jonathan Rainville
305e803443
conflict in embark js
2018-08-22 19:17:23 -04:00
Jonathan Rainville
48502adb08
conflict in lock
2018-08-22 19:17:23 -04:00
Jonathan Rainville
118d8cc86f
add resolver contract
2018-08-22 19:17:23 -04:00
Jonathan Rainville
d453eeaeee
very wip working register
2018-08-22 19:17:22 -04:00
Anthony Laibe
2a3eb14899
Remove code dependencies to underscore
2018-08-22 19:17:11 -04:00
Richard Ramos
0db860659b
Removing code. Doesn't make sense to specify keys when everyone can read them
2018-08-22 19:17:09 -04:00
Richard Ramos
a0e4edef6d
Symmetric and private keys can be set in whisper
2018-08-22 19:17:09 -04:00
Jonathan Rainville
03a9edc8b5
fix the indexOf instead by simulating what solc does
2018-08-22 19:17:09 -04:00
Jonathan Rainville
8dff1383c8
fix duplicate dependencies and warn correctly for length
2018-08-22 19:17:09 -04:00
Jonathan Rainville
2a6d184d42
fix ens by using right addres depending on chain and also add isAvailable
2018-08-22 19:17:08 -04:00
Iuri Matias
4768274564
fix plugin call
2018-08-22 19:15:07 -04:00
Iuri Matias
6294d8004b
re-add register upload cmd api; refactor storage module initialization
2018-08-22 19:15:06 -04:00
Iuri Matias
9d1acb6252
fix logger
2018-08-22 19:15:06 -04:00
Iuri Matias
b903257170
check ipfs connection before attempting to connect
2018-08-22 19:15:05 -04:00
Jonathan Rainville
c6d8cc80e4
remove useless change
2018-08-22 19:14:52 -04:00
Jonathan Rainville
7467494591
wip fixes
2018-08-22 19:14:25 -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
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
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
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
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