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
hodlbank
b9cd0cf74e
[m] Setting up network id for simulator from blockchainConfig or options.
2018-08-21 16:11:07 -04:00
Jonathan Rainville
61d63e2f65
conflict in register
2018-08-21 16:11:07 -04:00
Jonathan Rainville
d4abed24eb
linting
2018-08-21 16:11:07 -04:00
Jonathan Rainville
5f3dd25e06
disable preregister in privatenet and fix conditions
2018-08-21 16:11:07 -04:00
Jonathan Rainville
2fe1b05492
use embarkJS secureSend
2018-08-21 16:11:06 -04:00
Jonathan Rainville
c211430fbd
use secureSend for deploy
2018-08-21 16:11:06 -04:00
Jonathan Rainville
d6b814dc3e
add secureSend to get estimate gas and interval the transactions
2018-08-21 16:11:06 -04:00
Jonathan Rainville
083c936351
create separate function for secure send
2018-08-21 16:10:22 -04:00
Anthony Laibe
a7b0cea09b
Console via IPC do not run on deploy
2018-08-21 16:10:22 -04:00
Iuri Matias
f90132af1e
remove line causing crash
2018-08-21 16:10:22 -04:00
Jonathan Rainville
8f3a42b926
catch $accounts in contract config
2018-08-21 16:09:49 -04:00
Jonathan Rainville
0b171401c6
log vyper errors
2018-08-21 16:09:49 -04:00
Anthony Laibe
926ed7c258
Fix transaction logger
2018-08-21 16:09:49 -04:00
Michael Bradley, Jr
4821997866
resolve ganache-cli bin using pkg-up
2018-08-21 16:09:48 -04:00