Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
YazzyYaz authored Oct 23, 2023
2 parents 3b41b13 + 2d8151c commit 8fdd802
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate-genesis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ jobs:
go install
- name: Validate Genesis
run: |
if [[-f ./celestia/pre-genesis.json && -d ./celestia/gentx ]]; then
if test -f ./celestia/pre-genesis.json && test -d ./celestia/gentx; then
gentest ./celestia/pre-genesis.json ./celestia/gentx
fi
7 changes: 6 additions & 1 deletion .github/workflows/validate-gentx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ jobs:
if [ "$formatted" != "$(cat $file)" ]; then
echo "$file gentx file not formatted"
echo "expected:"
echo $formatted
echo "$formatted"
echo "found:"
cat $file
echo ""
echo "Hexdump of file:"
head -c 100 "$file" | hexdump -C
echo "Hexdump of jq output:"
echo "$formatted" | head -c 100 | hexdump -C
exit 1
fi
done
Expand Down

0 comments on commit 8fdd802

Please sign in to comment.