-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1765: Add script to show cardano-node and cardano-cli versions r=rvl a=rvl Run this script if you would like to know which version of `cardano-node` will be in the `nix-shell` (i.e. CI). This PR IntersectMBO/cardano-node#1283 fixes the CLI version strings. 1767: Better tracing of shelley network local state query r=rvl a=rvl ### Issue Number ADP-302 / #1750 ### Overview More detail in the logs. Co-authored-by: Rodney Lorrimar <[email protected]>
- Loading branch information
Showing
2 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Run this script if you would like to know which version of | ||
# cardano-node will be in the nix-shell (i.e. CI). | ||
# | ||
# Instructions for updating the version are here: | ||
# https://github.com/input-output-hk/cardano-wallet/wiki/Updating-Dependencies | ||
|
||
set -euo pipefail | ||
|
||
echo "Reading cardano-node branch/tag and revision from nix/sources.json" | ||
jq -r '.["cardano-node"] | .branch, .rev' < `dirname $0`/../nix/sources.json | ||
|
||
echo | ||
echo "Your cardano-node is `type -p cardano-node`" | ||
cardano-node version | ||
|
||
echo | ||
echo "Your cardano-cli is `type -p cardano-cli`" | ||
cardano-cli version |