Jonathan Rainville
3ada1b33f0
if no register config, dont register anything
2018-08-22 19:03:56 -04:00
Jonathan Rainville
3dadef752f
put register function in another module that can be used by embark and embark js
2018-08-22 19:03:56 -04:00
Jonathan Rainville
64ed4fbe9a
fix using only_owner
2018-08-22 19:03:56 -04:00
Jonathan Rainville
5c4c2a8cc8
fix lookup and also enable lookup for new subdomains
2018-08-22 19:03:56 -04:00
Jonathan Rainville
ece73f0c4c
fix only_owner to work when called by FIFSRegistrar
2018-08-22 19:03:56 -04:00
Jonathan Rainville
e234b20f47
add function to register the domains from config
2018-08-22 19:03:56 -04:00
Jonathan Rainville
971a40c7cc
conflict in embark js
2018-08-22 19:03:55 -04:00
Jonathan Rainville
2f05db5325
conflict in lock
2018-08-22 19:03:55 -04:00
Jonathan Rainville
9826cdd18b
add resolver contract
2018-08-22 19:03:55 -04:00
Jonathan Rainville
ca450d1383
very wip working register
2018-08-22 19:03:55 -04:00
Anthony Laibe
5e30769d22
Remove code dependencies to underscore
2018-08-22 19:03:48 -04:00
Richard Ramos
f176572265
Removing code. Doesn't make sense to specify keys when everyone can read them
2018-08-22 19:03:46 -04:00
Richard Ramos
12bb887839
Symmetric and private keys can be set in whisper
2018-08-22 19:03:46 -04:00
Jonathan Rainville
44cfa58edf
fix the indexOf instead by simulating what solc does
2018-08-22 19:03:45 -04:00
Jonathan Rainville
7424bf240f
fix duplicate dependencies and warn correctly for length
2018-08-22 19:03:45 -04:00
Jonathan Rainville
35acfea2be
fix ens by using right addres depending on chain and also add isAvailable
2018-08-22 19:03:44 -04:00
Iuri Matias
0865d4b2ef
fix plugin call
2018-08-22 19:03:34 -04:00
Iuri Matias
eed4412cf4
re-add register upload cmd api; refactor storage module initialization
2018-08-22 19:03:34 -04:00
Iuri Matias
efb3d935a6
fix logger
2018-08-22 19:03:33 -04:00
Iuri Matias
bcd7220f4c
check ipfs connection before attempting to connect
2018-08-22 19:03:33 -04:00
Iuri Matias
721f92992a
move setProviders to EmbarkJS
2018-08-22 19:03:33 -04:00
Iuri Matias
31c44c5fc4
move setProviders to EmbarkJS
2018-08-22 19:03:33 -04:00
Jonathan Rainville
ed8d61db69
remove useless change
2018-08-22 19:03:28 -04:00
Jonathan Rainville
ece8248019
wip fixes
2018-08-22 19:03:20 -04:00
emizzle
f935cca1ae
Removed p-iteration from embark altogether.
...
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-08-22 19:03:12 -04:00
VoR0220
73d98b4113
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:03:03 -04:00
RJ Catalano
2fb62960e6
fix line
2018-08-22 19:03:03 -04:00
VoR0220
5ba7b10061
catch errors and handle gracefully in ENS
2018-08-22 19:03:03 -04:00
emizzle
53c59263b6
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:03:03 -04:00
emizzle
b474b202b9
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:02:48 -04:00
VoR0220
c4c77ee155
ensure that FIFS doesn't deploy on other test and main networks
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:50 -04:00
Iuri Matias
3041b52d43
put contracts inside the contracts field
2018-08-22 19:01:50 -04:00
VoR0220
d0b0456166
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:01:50 -04:00
Jonathan Rainville
32287c142d
fix tests using new dependencies
2018-08-22 19:01:50 -04:00
Jonathan Rainville
2dd48ede77
make groups of dependencyCount to do async by group
2018-08-22 19:01:50 -04:00
VoR0220
f738ece0f4
callback fixes and get rid of resolver interface
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:49 -04:00
VoR0220
d4fe3acffd
more unnecessary contracts gotten rid of, and fixes made to Embarkjs file
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:49 -04:00
VoR0220
786260080b
get rid of unnecessary contracts for this iteration
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
bd5e9f0f71
get rid of global web3 in ens
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
f6b8e70d66
get rid of register for now
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:31 -04:00
VoR0220
a59f49243c
temp commit
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:30 -04:00
VoR0220
e3e9d2c962
starting to create registration and some changes to the deployment
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:30 -04:00
VoR0220
03f457f6e8
attempt at deploying on dev net
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:02 -04:00
VoR0220
b8a9037224
add ens contracts
...
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-22 19:01:02 -04:00
Iuri Matias
8b97b4efb1
move back dev_funds file
2018-08-21 16:17:02 -04:00
Iuri Matias
792e7dff5b
lint is king
2018-08-21 16:12:57 -04:00
Anthony Laibe
cc7dfbcc60
Remove ENS warning
2018-08-21 16:11:07 -04:00
Iuri Matias
6ae697f36a
add solc options
2018-08-21 16:11:07 -04:00
hodlbank
cc39931852
[m] Simplified networkId check for simulator.
2018-08-21 16:11:07 -04:00
Jonathan Rainville
824a234d76
enable register in privatenet and patch weird errors
2018-08-21 16:11:07 -04:00