From 25d0798730fc1c79b9cc22da62571741bae08272 Mon Sep 17 00:00:00 2001 From: Andy Golay Date: Sat, 24 Aug 2024 07:53:10 -0400 Subject: [PATCH] test: log resource output --- .github/scripts/update_move_toml.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/scripts/update_move_toml.sh b/.github/scripts/update_move_toml.sh index fde5d2ffd..3972d4ef4 100644 --- a/.github/scripts/update_move_toml.sh +++ b/.github/scripts/update_move_toml.sh @@ -18,6 +18,9 @@ RANDOM_SEED=$(shuf -i 0-1000000 -n 1) # Derive the resource account address using the random seed RESOURCE_OUTPUT=$(aptos account derive-resource-account-address --address "$ADDRESS" --seed "$RANDOM_SEED" 2>&1) +echo "Resource address derivation output: $RESOURCE_OUTPUT" + +# Attempt to extract the resource address from the output RESOURCE_ADDRESS=$(echo "$RESOURCE_OUTPUT" | grep -oE '0x[a-f0-9]{64}' | head -1) if [[ -z "$RESOURCE_ADDRESS" ]]; then