From c06cab289e75ea764753eb355c4f6d1030f4557e Mon Sep 17 00:00:00 2001 From: Reza Rajan <28660160+rezarajan@users.noreply.github.com> Date: Wed, 17 Sep 2025 05:31:56 +0000 Subject: [PATCH] feat: include ancillary key in mithril-client command Signed-off-by: Reza Rajan <28660160+rezarajan@users.noreply.github.com> --- bin/run-network | 5 +++-- bin/run-node | 11 ++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/bin/run-network b/bin/run-network index ab907d2..2f94e4e 100755 --- a/bin/run-network +++ b/bin/run-network @@ -28,15 +28,16 @@ if ! test -e /data/db/protocolMagicId; then esac if [[ ${__skip} != true ]]; then export GENESIS_VERIFICATION_KEY=$(/dev/null; pwd -P) != $(pwd -P)/db ]]; then rm -rf db/* fi # Handle SIGTERM during initial sync trap 'kill -TERM $(pidof mithril-client)' TERM # Run mithril-client in the background so we can capture the PID and wait - mithril-client cardano-db download ${SNAPSHOT_DIGEST} & + mithril-client cardano-db download "${SNAPSHOT_DIGEST}" ${ANCILLARY_VERIFICATION_KEY:+--include-ancillary} & _mithril_pid=$! wait $_mithril_pid || exit $? # Reset signal handler and wait again (to avoid race condition)