Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fixed npm install call #2323

Merged
merged 1 commit into from
Mar 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/bridges_rococo_wococo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ function ensure_polkadot_js_api() {
pushd ./scripts/generate_hex_encoded_call
npm install
popd
exit 1
fi
}

Expand All @@ -65,11 +64,14 @@ function generate_hex_encoded_call_data() {
echo "Input params: $@"

node ./scripts/generate_hex_encoded_call "$type" "$endpoint" "$output" "$@"
local retVal=$?

if [ $type != "check" ]; then
local hex_encoded_data=$(cat $output)
echo "Generated hex-encoded bytes to file '$output': $hex_encoded_data"
fi

return $retVal
}

STATEMINE_ACCOUNT_SEED_FOR_LOCAL="//Alice"
Expand Down