From bb86edc9be7c4eb1c0290899cb62cebadb65d962 Mon Sep 17 00:00:00 2001 From: parketh Date: Sat, 9 Nov 2024 12:27:09 +0000 Subject: [PATCH] fix keyring filename --- scripts/babylon-integration/utils/teardown.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/babylon-integration/utils/teardown.sh b/scripts/babylon-integration/utils/teardown.sh index 4535c37..9310a1e 100755 --- a/scripts/babylon-integration/utils/teardown.sh +++ b/scripts/babylon-integration/utils/teardown.sh @@ -5,7 +5,8 @@ source "./common.sh" # Get the consumer FP address CONSUMER_FP_KEYRING_DIR=/home/finality-provider/.fpd -KEYRING_FILENAME=$(ls $CONSUMER_FP_KEYRING_DIR/keyring-test | grep '\.address$') +KEYRING_FILENAME=$(ls $CONSUMER_FP_KEYRING_DIR/keyring-test | grep '\.address$' | sed 's/\.address$//') +echo "Keyring filename: $KEYRING_FILENAME" CONSUMER_FP_ADDRESS=$(babylond keys parse "$KEYRING_FILENAME" | grep -o '^[^- ]*' | head -n 1) echo "Consumer FP address: $CONSUMER_FP_ADDRESS"