Skip to content

Commit

Permalink
test: log resource output
Browse files Browse the repository at this point in the history
  • Loading branch information
andygolay committed Aug 24, 2024
1 parent 12cf046 commit 25d0798
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/update_move_toml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25d0798

Please sign in to comment.