From 4799831858b6d697e3076d89ec33971e18ccdbea Mon Sep 17 00:00:00 2001 From: s8sato <49983831+s8sato@users.noreply.github.com> Date: Mon, 27 Dec 2021 17:35:50 +0900 Subject: [PATCH] Fix JSONs according to #1743 `Domain` struct change Signed-off-by: s8sato <49983831+s8sato@users.noreply.github.com> --- configs/client_cli/config.json | 4 +++- configs/peer/genesis.json | 20 +++++++++++++++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/configs/client_cli/config.json b/configs/client_cli/config.json index 408d46be02d..09711ac1f60 100644 --- a/configs/client_cli/config.json +++ b/configs/client_cli/config.json @@ -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": { diff --git a/configs/peer/genesis.json b/configs/peer/genesis.json index 2cc621a9bd2..d5bc4b4ac70 100644 --- a/configs/peer/genesis.json +++ b/configs/peer/genesis.json @@ -8,7 +8,9 @@ "Raw": { "Identifiable": { "Domain": { - "name": "wonderland", + "id": { + "name": "wonderland" + }, "accounts": {}, "asset_definitions": {}, "metadata": {} @@ -26,7 +28,9 @@ "NewAccount": { "id": { "name": "alice", - "domain_name": "wonderland" + "domain_id": { + "name": "wonderland" + } }, "signatories": [ "ed01207233bfc89dcbd68c19fde6ce6158225298ec1131b6a130d1aeb454c1ab5183c0" @@ -46,7 +50,9 @@ "AssetDefinition": { "id": { "name": "rose", - "domain_name": "wonderland" + "domain_id": { + "name": "wonderland" + } }, "value_type": "Quantity", "metadata": {}, @@ -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" + } } } }