-
Notifications
You must be signed in to change notification settings - Fork 724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible to choose socket file #2855
Conversation
c1f1470
to
17117ba
Compare
@@ -13,7 +13,7 @@ set -o pipefail | |||
|
|||
# Step 1 - Send ADA to token script owner | |||
|
|||
export CARDANO_NODE_SOCKET_PATH=example/node-bft1/node.sock | |||
export CARDANO_NODE_SOCKET_PATH="${CARDANO_NODE_SOCKET_PATH:-example/node-bft1/node.sock}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provide a default value, but allow the caller of the script to define another value.
fbc7193
to
13efbb0
Compare
Example run:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix that commit subject line so it does not line wrap.
The subject should just give an overview and the body can contain more details. Probably also worth adding "plutus:" to the start of the subject line just ti make it obvious that this is all that is affected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
13efbb0
to
17cce6e
Compare
Such configuration will make it possible to run the script from automated tests in CI.
17cce6e
to
9ccbfa9
Compare
bors merge |
Build succeeded: |
No description provided.