Create user identity using uport-id create name in private test network deploys only Registry and Identity manager contracts and then throws an error.
logs
$ uport-id create jon-bolo
? Choose a network for your identity: Local Test Network
You selected Local Test Network, the following is the default configuration:
{
"id": "0x5777",
"registry": "0x3f22a64e75a1c4bbb5894a4882aef240c6fea01c",
"identityManager": "0x0ddd27df7dd974920876dec2891b19c2ebfc37b9",
"rpcUrl": "http://127.0.0.1:7545"
}
? Do you want to change the default configuration? Yes
? Do you want to deploy the uport platform contracts on this network? Yes
? Enter rpcUrl: http://127.0.0.1:8545
The following is the default ipfs configuration:
ipfsUrl = https://ipfs.infura.io/ipfs/
? Is this ipfs configuration what you want to use? Yes
? Are you creating an app identity? No
Please fund the following address:
0xaaff651fa6e62cbf0504c81e21f51c4766b23798
Then the contracts can be deployed and identity created
? Press y to continue: Yes
Deploying uPort platform contracts...
uPort registry contract configured and deployed at 0x8aed75bef7f945e2c9daf9ebea3d0cc3fc281084
uPort Identity Manager contract configured and deployed at 0x628d0c0b1f95e96e87d431d148db70497f8edff8
Initializing identity...
(node:29368) UnhandledPromiseRejectionWarning: #<Object>
(node:29368) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:29368) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Environment: Ubuntu v16.04, Node v8.11.2, Ganache-cli v6.1.0
Current behaviour:
Create user identity using
uport-id create name
in private test network deploys only Registry and Identity manager contracts and then throws an error.logs
steps to reproduce
$ uport-id create name
local test network
yes
to change default configuartionyes
to deploy uport platform contractsyes
to keep default IPFS endpointno
to app identityyes
to deploy the contracts.