Skip to content

Commit

Permalink
fix: Fix --enclave-id -> --enclave bug (#44)
Browse files Browse the repository at this point in the history
As reported on
https://discord.com/channels/490367152054992913/912467453479616542/1099760829349511198

---------

Co-authored-by: preetrawal <15133250+Peeeekay@users.noreply.github.com>
  • Loading branch information
mieubrisse and Peeeekay committed Apr 24, 2023
1 parent 28ad43c commit 135e923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NEAR PACKAGE
===========================

This repository contains a [Kurtosis package](https://docs.kurtosis.com/reference/packages) for setting up a NEAR network locally on your machine using Kurtosis.
This repository contains a [Kurtosis package](https://docs.kurtosis.com/concepts-reference/packages) for setting up a NEAR network locally on your machine using Kurtosis.

The validator key of the node that it starts is:

Expand Down
2 changes: 1 addition & 1 deletion launch-local-near-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ exec_output_filepath="${package_exec_dirpath}/exec-output.log"
# The funky ${1+"${@}"} incantation is how you you feed arguments exactly as-is to a child script in Bash
# ${*} loses quoting and ${@} trips set -e if no arguments are passed, so this incantation says, "if and only if
# ${1} exists, evaluate ${@}"
if ! "${KURTOSIS_CMD}" run --enclave-id "${ENCLAVE_ID}" "${NEAR_KURTOSIS_PACKAGE}" ${1+"${@}"} 2>&1 | tee "${exec_output_filepath}"; then
if ! "${KURTOSIS_CMD}" run --enclave "${ENCLAVE_ID}" "${NEAR_KURTOSIS_PACKAGE}" ${1+"${@}"} 2>&1 | tee "${exec_output_filepath}"; then
echo "Error: An error occurred executing package '${NEAR_KURTOSIS_PACKAGE}'" >&2
exit 1
fi
Expand Down

0 comments on commit 135e923

Please sign in to comment.