Skip to content

Commit

Permalink
Fix JSONs according to hyperledger#1743 Domain struct change
Browse files Browse the repository at this point in the history
Signed-off-by: s8sato <49983831+s8sato@users.noreply.github.com>
  • Loading branch information
s8sato committed Dec 27, 2021
1 parent 276ae90 commit 4799831
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion configs/client_cli/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"TORII_API_URL": "http://127.0.0.1:8080",
"ACCOUNT_ID": {
"name": "alice",
"domain_name": "wonderland"
"domain_id": {
"name": "wonderland"
}
},
"PUBLIC_KEY": "ed01207233bfc89dcbd68c19fde6ce6158225298ec1131b6a130d1aeb454c1ab5183c0",
"PRIVATE_KEY": {
Expand Down
20 changes: 15 additions & 5 deletions configs/peer/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"Raw": {
"Identifiable": {
"Domain": {
"name": "wonderland",
"id": {
"name": "wonderland"
},
"accounts": {},
"asset_definitions": {},
"metadata": {}
Expand All @@ -26,7 +28,9 @@
"NewAccount": {
"id": {
"name": "alice",
"domain_name": "wonderland"
"domain_id": {
"name": "wonderland"
}
},
"signatories": [
"ed01207233bfc89dcbd68c19fde6ce6158225298ec1131b6a130d1aeb454c1ab5183c0"
Expand All @@ -46,7 +50,9 @@
"AssetDefinition": {
"id": {
"name": "rose",
"domain_name": "wonderland"
"domain_id": {
"name": "wonderland"
}
},
"value_type": "Quantity",
"metadata": {},
Expand All @@ -70,11 +76,15 @@
"AssetId": {
"definition_id": {
"name": "rose",
"domain_name": "wonderland"
"domain_id": {
"name": "wonderland"
}
},
"account_id": {
"name": "alice",
"domain_name": "wonderland"
"domain_id": {
"name": "wonderland"
}
}
}
}
Expand Down

0 comments on commit 4799831

Please sign in to comment.