From 4742b88847086d16dbda1f20f2df63e9b29fb59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emiliano=20Su=C3=B1=C3=A9?= Date: Tue, 17 Dec 2024 19:09:20 -0800 Subject: [PATCH 1/2] Remove unused endorser settings/parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Emiliano Suñé --- scripts/docker-compose.yml | 8 -------- scripts/endorser-acapy-args.yml | 1 - 2 files changed, 9 deletions(-) diff --git a/scripts/docker-compose.yml b/scripts/docker-compose.yml index da362f699..72db53aac 100755 --- a/scripts/docker-compose.yml +++ b/scripts/docker-compose.yml @@ -178,7 +178,6 @@ services: --auto-provision --arg-file endorser-acapy-args.yml \ --inbound-transport http '0.0.0.0' ${ACAPY_ENDORSER_HTTP_PORT} \ - --webhook-url '${ENDORSER_WEBHOOK_URL}' \ --genesis-url '${ACAPY_GENESIS_URL}' \ --endpoint ${ACAPY_ENDORSER_ENDPOINT} \ --wallet-name '${ENDORSER_ACAPY_WALLET_DATABASE}' \ @@ -192,9 +191,6 @@ services: --admin '0.0.0.0' ${ACAPY_ENDORSER_ADMIN_PORT} \ --label '${ENDORSER_AGENT_NAME}' \ ${ENDORSER_ACAPY_ADMIN_CONFIG} \ - ${ENDORSER_ACAPY_READ_ONLY_MODE} \ - --endorser-protocol-role endorser \ - --auto-endorse-transactions \ ", ] environment: @@ -220,7 +216,6 @@ services: --auto-provision --arg-file endorser-acapy-args.yml \ --inbound-transport http '0.0.0.0' ${ACAPY_ENDORSER_1_HTTP_PORT} \ - --webhook-url '${ENDORSER_1_WEBHOOK_URL}' \ --genesis-url '${ACAPY_GENESIS_URL_1}' \ --endpoint ${ACAPY_ENDORSER_1_ENDPOINT} \ --wallet-name '${ENDORSER_1_ACAPY_WALLET_DATABASE}' \ @@ -234,9 +229,6 @@ services: --admin '0.0.0.0' ${ACAPY_ENDORSER_1_ADMIN_PORT} \ --label '${ENDORSER_AGENT_NAME}' \ ${ENDORSER_ACAPY_ADMIN_CONFIG} \ - ${ENDORSER_ACAPY_READ_ONLY_MODE} \ - --endorser-protocol-role endorser \ - --auto-endorse-transactions \ ", ] environment: diff --git a/scripts/endorser-acapy-args.yml b/scripts/endorser-acapy-args.yml index 986ce9e25..ae44d73ef 100755 --- a/scripts/endorser-acapy-args.yml +++ b/scripts/endorser-acapy-args.yml @@ -5,7 +5,6 @@ auto-ping-connection: true auto-provision: true monitor-ping: true public-invites: true -plugin: 'acapy_agent.messaging.jsonld' outbound-transport: http log-level: info endorser-protocol-role: endorser From b18f6f08e882a88ee8308b60a9b7db875b5ded6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emiliano=20Su=C3=B1=C3=A9?= Date: Wed, 18 Dec 2024 09:47:50 -0800 Subject: [PATCH 2/2] More unused variable clean-up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Emiliano Suñé --- scripts/.env-example | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/.env-example b/scripts/.env-example index 71a07b0f1..b526c48df 100644 --- a/scripts/.env-example +++ b/scripts/.env-example @@ -130,8 +130,6 @@ ACAPY_ENDORSER_1_ENDPOINT=http://host.docker.internal:9032 ENDORSER_AGENT_NAME="Endorser Agent" ENDORSER_CONNECTION_ALIAS=endorser -ENDORSER_ACAPY_READ_ONLY_MODE= - # Protect all admin endpoints with the provided API key # Development setup (do not use in production!) #ENDORSER_ACAPY_ADMIN_CONFIG=--admin-insecure-mode