Skip to content

Commit

Permalink
Merge branch 'celestiaorg:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhanu authored Oct 23, 2023
2 parents d3f5998 + 0861371 commit cc1b2d0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/validate-genesis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
go-version: 1.21.1
- name: Download celestiaorg/celestia-app
run: git clone https://github.com/celestiaorg/celestia-app.git
- name: Install Celestiaorg/celestia-app
run: cd celestia-app && make install
- name: Checkout latest celestia-app release
run: |
cd celestia-app
git checkout v1.2.0
make install
# Validation checks https://github.com/cosmos/cosmos-sdk/blob/bff3104781cca3c409fecfa3efebd80a40eb48c3/x/genutil/types/genesis.go#L53
- name: Validate Pre Genesis
run: |
Expand Down Expand Up @@ -65,6 +68,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
1 change: 1 addition & 0 deletions .github/workflows/validate-validator-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
pull-requests: write
env:
VALIDATOR_LIST: (
"silviugae",
"tiagocmachado",
"EdouardLvdl",
"gle1pn1r",
Expand Down

0 comments on commit cc1b2d0

Please sign in to comment.