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

Commit

Permalink
fixed npm install call (#2323)
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik authored Mar 15, 2023
1 parent 30dcc22 commit 1392b9d
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 1392b9d

Please sign in to comment.